Actually fixed task termination

This commit is contained in:
Joel Collins 2019-12-13 15:06:27 +00:00
parent 1224daac13
commit 9e404415ae

View file

@ -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