Skip to content

Commit

Permalink
Log to None, not '-'
Browse files Browse the repository at this point in the history
  • Loading branch information
deargle committed May 9, 2020
1 parent 98d42a0 commit a63fc82
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion psiturk/experiment.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@

# Setup logging
if 'ON_CLOUD' in os.environ:
LOG_FILE_PATH = '-'
LOG_FILE_PATH = None
else:
LOG_FILE_PATH = os.path.join(os.getcwd(), CONFIG.get("Server Parameters",
"logfile"))
Expand Down Expand Up @@ -121,6 +121,7 @@ def check_templates_exist():
scheduler = Scheduler(jobstores=jobstores, timezone=utc)
app.apscheduler = scheduler
scheduler.app = app

if (os.getenv('PSITURK_DO_SCHEDULER', False)):
scheduler.start()

Expand Down

0 comments on commit a63fc82

Please sign in to comment.