aboutsummaryrefslogtreecommitdiff
path: root/app/views/tasks.py
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/tasks.py')
-rw-r--r--app/views/tasks.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/tasks.py b/app/views/tasks.py
index 64ed702..72d7d1d 100644
--- a/app/views/tasks.py
+++ b/app/views/tasks.py
@@ -29,11 +29,13 @@ def check_task(id):
info = None
if isinstance(result, Exception):
info = {
+ 'id': id,
'status': status,
'error': str(result),
}
else:
info = {
+ 'id': id,
'status': status,
'result': result,
}