aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2018-02-04 07:21:25 +0100
committerTeddy Wing2018-02-04 07:21:25 +0100
commit30a6c75e3b391ab663bf9f412667925bd04bdd12 (patch)
treed1c95c14d38f68635e46aecb4e3749b4683efac4
parent4f253d83f4b0edc264e134828e4d35232544b497 (diff)
downloadharvester-submit-week-for-approval-30a6c75e3b391ab663bf9f412667925bd04bdd12.tar.bz2
Set path for `geckodriver` log
Otherwise it gets created in the current directory, and this fails when run from Launchd because that runs at the root of the filesystem.
-rw-r--r--harvester_submit_week_for_approval.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/harvester_submit_week_for_approval.py b/harvester_submit_week_for_approval.py
index 32f6719..149fdfd 100644
--- a/harvester_submit_week_for_approval.py
+++ b/harvester_submit_week_for_approval.py
@@ -192,6 +192,7 @@ if __name__ == "__main__":
options.add_argument('-headless')
driver = Firefox(
executable_path='./geckodriver',
+ log_path='/tmp/harvester-submit-week-for-approval-geckodriver.log',
firefox_binary='/Applications/FirefoxDeveloperEdition.app/Contents/MacOS/firefox-bin',
firefox_options=options)