fix wallet saving

This commit is contained in:
ThomasV 2015-12-23 15:23:33 +01:00
parent d70ad3df93
commit 93573282bf
1 changed files with 2 additions and 1 deletions

View File

@ -256,7 +256,8 @@ def run_offline_command(config, config_options):
func = getattr(cmd_runner, cmd.name)
result = func(*args)
# save wallet
wallet.storage.write()
if wallet:
wallet.storage.write()
return result