follow-up prev

This commit is contained in:
SomberNight 2018-06-08 20:31:04 +02:00
parent 1d4ca34ca6
commit 7043d6907f
No known key found for this signature in database
GPG key ID: B33B5F232C6271E9

View file

@ -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()