Commit 36226d6b authored by wenjie.zheng's avatar wenjie.zheng

WorkflowTool.py: fix a typo.

parent dac489e2
......@@ -303,7 +303,7 @@ class WorkflowTool(BaseTool, OriginalWorkflowTool):
elif tdef.after_script_name in dc_workflow.scripts.objectIds():
transition.setAfterScriptId(tdef.after_script_name)
if tdef.script_name is not None:
# check after script is a Transion or a Script:
# check before script is a Transion or a Script:
if tdef.script_name in dc_workflow.transitions.objectIds():
transition.setBeforeScriptId('transition_'+tdef.script_name)
elif tdef.script_name in dc_workflow.scripts.objectIds():
......
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