Commit f2fc4175 authored by wenjie.zheng's avatar wenjie.zheng

Fix bug: give form_kw a value when it equals to None type.

parent a60f16ce
...@@ -60,6 +60,8 @@ class Transition(XMLObject): ...@@ -60,6 +60,8 @@ class Transition(XMLObject):
""" """
Execute transition. Execute transition.
""" """
if form_kw is None:
form_kw = {}
workflow = self.getParentValue() workflow = self.getParentValue()
# Call the before script # Call the before script
self._executeBeforeScript(document) self._executeBeforeScript(document)
......
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