Commit befd687b authored by wenjie.zheng's avatar wenjie.zheng Committed by Sebastien Robin

Workflow.py: when error_message is None type, show nothing instead of string None.

parent ff8367cd
......@@ -689,6 +689,7 @@ class Workflow(IdAsReferenceMixin("workflow_", "prefix"), XMLObject):
econtext = Expression_createExprContext(sci)
expr = Expression(expr)
value = expr(econtext)
if value is None or value == 'None': value = ''
status_dict[id_no_suffix] = value
# Do not proceed in case of failure of before script
......
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