From 30092cd68cdd7d0f31d91cccf5fb509726c37cf0 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Wed, 11 Sep 2019 16:36:04 +0200 Subject: [PATCH] kivy: request PIN to load_wallet only on android --- electrum/gui/kivy/main_window.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/electrum/gui/kivy/main_window.py b/electrum/gui/kivy/main_window.py index 833d7e262..de144ff31 100644 --- a/electrum/gui/kivy/main_window.py +++ b/electrum/gui/kivy/main_window.py @@ -596,7 +596,7 @@ class ElectrumWindow(App): return wallet = self.daemon.load_wallet(path, None) if wallet: - if wallet.has_password(): + if platform == 'android' and wallet.has_password(): self.password_dialog(wallet, _('Enter PIN code'), lambda x: self.load_wallet(wallet), self.stop) else: self.load_wallet(wallet)