fix bug in cmd.params

This commit is contained in:
ThomasV 2015-05-30 17:09:17 +02:00
parent 2ab9272f52
commit bf98b547e1
1 changed files with 1 additions and 1 deletions

View File

@ -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())