Browse Source

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

pull/756/head^2
ibuler 7 years ago
parent
commit
d1fbbd3213
  1. 2
      apps/ops/views.py

2
apps/ops/views.py

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

Loading…
Cancel
Save