commit 93573282bf8c966a19ebbd7a3b3c0cc37b521f4a parent d70ad3df93cc2d6dfdb1c099f3baf86a68c9402c Author: ThomasV <thomasv@electrum.org> Date: Wed, 23 Dec 2015 15:23:33 +0100 fix wallet saving Diffstat:
M | electrum | | | 3 | ++- |
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/electrum b/electrum @@ -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