From 7816edc3428f7148de1b2c4b567408b68c1d25cb Mon Sep 17 00:00:00 2001 From: SomberNight Date: Sat, 3 Mar 2018 00:05:57 +0100 Subject: [PATCH] fix #4003 --- lib/plugins.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/plugins.py b/lib/plugins.py index b3611c16..9f58611f 100644 --- a/lib/plugins.py +++ b/lib/plugins.py @@ -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):