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):