Browse Source

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

3.2.x
SomberNight 7 years ago
parent
commit
37853ab939
  1. 3
      lib/base_wizard.py

3
lib/base_wizard.py

@ -243,6 +243,9 @@ class BaseWizard(object):
devmgr.unpair_id(device_info.device.id_) devmgr.unpair_id(device_info.device.id_)
self.choose_hw_device(purpose) self.choose_hw_device(purpose)
return return
except UserCancelled:
self.choose_hw_device(purpose)
return
except BaseException as e: except BaseException as e:
self.show_error(str(e)) self.show_error(str(e))
self.choose_hw_device(purpose) self.choose_hw_device(purpose)

Loading…
Cancel
Save