trezor/keepkey: don't show empty error on PIN prompt cancel

This commit is contained in:
SomberNight 2018-03-15 06:08:13 +01:00
parent 8589c1b0bb
commit 37853ab939

View file

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