From 7043d6907f1af3dbb67f04d77147079e47b3dae5 Mon Sep 17 00:00:00 2001 From: SomberNight Date: Fri, 8 Jun 2018 20:31:04 +0200 Subject: [PATCH] follow-up prev --- 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 index 751ebfa55..5a527b8ea 100644 --- 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()