Actually fixed task termination
This commit is contained in:
parent
1224daac13
commit
9e404415ae
1 changed files with 1 additions and 1 deletions
|
|
@ -138,7 +138,7 @@ class TaskAPI(MethodView):
|
||||||
"""
|
"""
|
||||||
|
|
||||||
try:
|
try:
|
||||||
task = tasks[task_id]
|
task = tasks.tasks()[task_id]
|
||||||
except KeyError:
|
except KeyError:
|
||||||
return abort(404) # 404 Not Found
|
return abort(404) # 404 Not Found
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue