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

WorkflowTool.py: clean up.

parent ffe4bb2c
......@@ -711,7 +711,7 @@ class WorkflowTool(BaseTool, OriginalWorkflowTool):
document = info.object
if document is not None:
if document:
document_pt = document.getTypeInfo()
if document_pt is not None:
workflow_list = document_pt.getTypeWorkflowList()
......
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