Commit d1fbbd32 authored by ibuler's avatar ibuler

[Bugfix] Push system user have not result may be error, fixed #701

parent 688a836b
......@@ -70,7 +70,7 @@ class TaskDetailView(DetailView):
context = {
'app': 'Ops',
'action': 'Task record detail',
'results': json.loads(self.object.summary),
'results': json.loads(self.object.summary or '{}'),
}
kwargs.update(context)
return super(TaskDetailView, self).get_context_data(**kwargs)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment