tfix #4003 - electrum - Electrum Bitcoin wallet
HTML git clone https://git.parazyd.org/electrum
DIR Log
DIR Files
DIR Refs
DIR Submodules
---
DIR commit 7816edc3428f7148de1b2c4b567408b68c1d25cb
DIR parent f93c3d79d7f9d07db14728196728188086bb10de
HTML Author: SomberNight <somber.night@protonmail.com>
Date: Sat, 3 Mar 2018 00:05:57 +0100
fix #4003
Diffstat:
M lib/plugins.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
DIR diff --git a/lib/plugins.py b/lib/plugins.py
t@@ -502,7 +502,8 @@ class DeviceMgr(ThreadJob, PrintError):
info = infos[c]
# save new label
keystore.set_label(info.label)
- handler.win.wallet.save_keystore()
+ if handler.win.wallet is not None:
+ handler.win.wallet.save_keystore()
return info
def scan_devices(self):