提交 d1fbbd32 编写于 作者: baltery's avatar baltery

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

上级 688a836b
...@@ -70,7 +70,7 @@ class TaskDetailView(DetailView): ...@@ -70,7 +70,7 @@ class TaskDetailView(DetailView):
context = { context = {
'app': 'Ops', 'app': 'Ops',
'action': 'Task record detail', 'action': 'Task record detail',
'results': json.loads(self.object.summary), 'results': json.loads(self.object.summary or '{}'),
} }
kwargs.update(context) kwargs.update(context)
return super(TaskDetailView, self).get_context_data(**kwargs) return super(TaskDetailView, self).get_context_data(**kwargs)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册