aboutsummaryrefslogtreecommitdiffstats
path: root/src/api/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/views.py')
-rw-r--r--src/api/views.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/api/views.py b/src/api/views.py
index cefd131..072354f 100644
--- a/src/api/views.py
+++ b/src/api/views.py
@@ -94,8 +94,7 @@ def specific_task(request, lab_name="", job_id="", task_id=""):
m['job'] = str(task.job)
m['message'] = task.message
d['meta'] = m
- response = json.dumps(d)
- return JsonResponse(response)
+ return JsonResponse(d, safe=False)
elif request.method == "GET":
return JsonResponse(get_task(task_id).config.get_delta())