Commit 99004f61 authored by wenjie.zheng's avatar wenjie.zheng

WorkflowTool.py: resolve getTypeInfo error when add gadget in access tab.

parent 3759fa55
......@@ -700,6 +700,8 @@ class WorkflowTool(BaseTool, OriginalWorkflowTool):
worklist_dict = {}
document = info.object
document_pt = None
if document is not None:
document_pt = document.getTypeInfo()
if document_pt is not None:
......
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