Skip to content
Browse files

Fix coalescing one-config arguments

If you strip spaces out of a one-config call, you end up with garbage.

Signed-off-by: Jack Miller <jack@codezen.org>
  • Loading branch information...
1 parent 0d566eb commit 6d00485a43276e189c0cd692f5291008b28389a6 @themoken committed Nov 19, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 canto_next/remote.py
View
4 canto_next/remote.py
@@ -283,8 +283,8 @@ def cmd_one_config(self):
return False
if sys.argv[1] == "--eval":
- return self._config(["".join(sys.argv[2:])], True)
- return self._config(["".join(sys.argv[1:])], False)
+ return self._config([" ".join(sys.argv[2:])], True)
+ return self._config([" ".join(sys.argv[1:])], False)
def cmd_config(self):
"""USAGE: canto-remote config [--eval] [option](=value) ...

0 comments on commit 6d00485

Please sign in to comment.
Something went wrong with that request. Please try again.