Fix for when conditional is a simple bool already

Fixes #1983.
parent 1becc665
...@@ -145,6 +145,9 @@ def is_changed(result): ...@@ -145,6 +145,9 @@ def is_changed(result):
def check_conditional(conditional): def check_conditional(conditional):
if not isinstance(conditional, basestring):
return conditional
def is_set(var): def is_set(var):
return not var.startswith("$") return not var.startswith("$")
......
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