hotfix attempt 3 pt. 2

This commit is contained in:
simon987
2019-02-02 11:48:09 -05:00
parent 59b1d249ba
commit 32c1c861ad
26 changed files with 2 additions and 2 deletions

2
api.py
View File

@@ -31,7 +31,7 @@ def setup_api(app):
oddb.logger.info("No queued tasks, creating a new one")
try:
task = oddb.db.make_task_for_oldest()
task = oddb.db.make_task_for_oldest(name)
except:
oddb.logger.error("Couldn't create new task")
abort(404)