Commit 904139f8 authored by wenjie.zheng's avatar wenjie.zheng

Workflow.py: getCurrentStatusDict now return an empty dict when there is no workflow history.

parent 25639032
......@@ -163,7 +163,7 @@ class Workflow(IdAsReferenceMixin("", "prefix"), XMLObject):
# Copy is requested
if workflow_history:
return workflow_history[-1].copy()
return None
return {}
def getDateTime(self):
"""
......
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