Commit 81a0c5b4 authored by wenjie.zheng's avatar wenjie.zheng

ERP5Site.py: typo error.

parent 63192e29
......@@ -1673,7 +1673,7 @@ class ERP5Site(FolderMixIn, CMFSite, CacheCookieMixin):
can only be executed after install bt erp5_workflow.
"""
tool = self.portal_workflow
if not isinstance(tool, WorkflowTool()):
if not isinstance(tool, WorkflowTool):
# create new Workflow Tool
new_tool = self._setObject('portal_workflow_new', WorkflowTool())
......
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