Commit df5cc3fa authored by David Trudgian's avatar David Trudgian
Browse files

Fix missing 0 value params in command

parent a47166fc
......@@ -264,10 +264,10 @@ class ParamFile(object):
for arg in arg_combn.values():
if arg['flag'] and arg['value']:
if arg['flag'] and arg['value'] is not None:
cmd_str += arg['flag'] + ' '
if arg['value']:
if arg['value'] is not None:
cmd_str += str(arg['value']) + ' '
return cmd_str.rstrip(' ')
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