mirror of
https://github.com/simon987/od-database.git
synced 2025-04-19 18:36:44 +00:00
revert task queuing pt. 2
This commit is contained in:
parent
4ce807c8a0
commit
801d056da8
2
app.py
2
app.py
@ -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, task, task_result, name)
|
||||
taskManager.complete_task(filename)
|
||||
|
||||
if filename and os.path.exists(filename):
|
||||
os.remove(filename)
|
||||
|
Loading…
x
Reference in New Issue
Block a user