tfix bug in cmd.params - electrum - Electrum Bitcoin wallet
HTML git clone https://git.parazyd.org/electrum
DIR Log
DIR Files
DIR Refs
DIR Submodules
---
DIR commit bf98b547e127d851005a45c716537b493ee05c93
DIR parent 2ab9272f5257d9419d0fdc4c4dacfc3ae47d3ca8
HTML Author: ThomasV <thomasv@gitorious>
Date: Sat, 30 May 2015 17:09:17 +0200
fix bug in cmd.params
Diffstat:
M electrum | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git a/electrum b/electrum
t@@ -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())