tkivy: request PIN to load_wallet only on android - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 30092cd68cdd7d0f31d91cccf5fb509726c37cf0 DIR parent 215dc96de73b507160885fb37d2698c473194898 HTML Author: ThomasV <thomasv@electrum.org> Date: Wed, 11 Sep 2019 16:36:04 +0200 kivy: request PIN to load_wallet only on android Diffstat: M electrum/gui/kivy/main_window.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- DIR diff --git a/electrum/gui/kivy/main_window.py b/electrum/gui/kivy/main_window.py t@@ -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)