Skip to content
Snippets Groups Projects
Commit 6ebea359 authored by Martin Craig's avatar Martin Craig
Browse files

Centre parameter should be passed as three separate string arguments

parent 4f3159f9
No related branches found
No related tags found
No related merge requests found
...@@ -62,7 +62,7 @@ def bet(input, output, **kwargs): ...@@ -62,7 +62,7 @@ def bet(input, output, **kwargs):
# passed as a Python sequence # passed as a Python sequence
centre = kwargs.pop("c", None) centre = kwargs.pop("c", None)
if centre is not None: if centre is not None:
cmd += ['c', ] + list(centre) cmd += ['-c', ] + [str(v) for v in centre]
cmd += wutils.applyArgStyle('-', argmap=argmap, valmap=valmap, **kwargs) cmd += wutils.applyArgStyle('-', argmap=argmap, valmap=valmap, **kwargs)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment