Getting ./bin/pyl to pass

This commit is contained in:
Jon Herron 2022-11-25 15:19:10 -05:00
parent 89ff665ac8
commit d6ea6353f4
1 changed files with 1 additions and 1 deletions

View File

@ -1295,7 +1295,7 @@ def process_instance_task_list(
) )
.first() .first()
) )
if step_detail is not None: if step_detail is not None and process_instance.bpmn_json is not None:
bpmn_json = json.loads(process_instance.bpmn_json) bpmn_json = json.loads(process_instance.bpmn_json)
bpmn_json["tasks"] = step_detail.task_json bpmn_json["tasks"] = step_detail.task_json
process_instance.bpmn_json = json.dumps(bpmn_json) process_instance.bpmn_json = json.dumps(bpmn_json)