Commit ef1935b1 authored by Jerome Mariette's avatar Jerome Mariette
Browse files

No commit message

No commit message
parent f66cbf59
......@@ -208,7 +208,7 @@ class Workflow(threading.Thread):
extended_args[param.name] = args[param.name]
# if it's a boolean
elif param.type == types.BooleanType:
extended_args[param.name] = args[param.name] in ['true', '1', 't', 'y', 'yes']
extended_args[param.name] = args[param.name] in [True, 1, 'true', '1', 't', 'y', 'yes']
else:
extended_args[param.name] = args[param.name]
# otherwise use the default
......
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