revert task queuing pt. 3 ._.

This commit is contained in:
Simon
2018-11-18 11:13:51 -05:00
parent 801d056da8
commit 98f43f817a
2 changed files with 3 additions and 3 deletions

2
app.py
View File

@@ -602,7 +602,7 @@ def api_complete_task():
filename = "./tmp/" + str(task_result.website_id) + ".json"
if not os.path.exists(filename):
filename = None
taskManager.complete_task(filename)
taskManager.complete_task(filename, task, task_result, name)
if filename and os.path.exists(filename):
os.remove(filename)