commit 7043d6907f1af3dbb67f04d77147079e47b3dae5 parent 1d4ca34ca698079151aa68915f8bd3bf0c11e3cc Author: SomberNight <somber.night@protonmail.com> Date: Fri, 8 Jun 2018 20:31:04 +0200 follow-up prev Diffstat:
M | gui/kivy/main_window.py | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gui/kivy/main_window.py b/gui/kivy/main_window.py @@ -709,7 +709,7 @@ class ElectrumWindow(App): def on_resume(self): now = time.time() - if self.wallet and self.wallet.has_password and now - self.pause_time > 60: + if self.wallet and self.wallet.has_password() and now - self.pause_time > 60: self.password_dialog(self.wallet, _('Enter PIN'), None, self.stop) if self.nfcscanner: self.nfcscanner.nfc_enable()