commit bf98b547e127d851005a45c716537b493ee05c93
parent 2ab9272f5257d9419d0fdc4c4dacfc3ae47d3ca8
Author: ThomasV <thomasv@gitorious>
Date: Sat, 30 May 2015 17:09:17 +0200
fix bug in cmd.params
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/electrum b/electrum
@@ -180,7 +180,7 @@ def run_cmdline(config):
cmd = known_commands[cmdname]
# arguments passed to function
- args = map(lambda x: config.get(x), cmd.params)
+ args = map(lambda x: config.get(x), map(lambda x: x[0], cmd.params))
# instanciate wallet for command-line
storage = WalletStorage(config.get_wallet_path())