commit 37853ab9391b64198f67db1c1a48c27752478e98
parent 8589c1b0bb79c3c6a8506d5ef875bd1e2bb055e6
Author: SomberNight <somber.night@protonmail.com>
Date: Thu, 15 Mar 2018 06:08:13 +0100
trezor/keepkey: don't show empty error on PIN prompt cancel
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/lib/base_wizard.py b/lib/base_wizard.py
@@ -243,6 +243,9 @@ class BaseWizard(object):
devmgr.unpair_id(device_info.device.id_)
self.choose_hw_device(purpose)
return
+ except UserCancelled:
+ self.choose_hw_device(purpose)
+ return
except BaseException as e:
self.show_error(str(e))
self.choose_hw_device(purpose)