mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-30 17:01:34 +00:00
trezor/kk: when using old fw, wizard did not display instructions properly
This commit is contained in:
parent
0186f09c27
commit
8f17f38b02
2 changed files with 8 additions and 2 deletions
|
@ -141,7 +141,10 @@ class KeepKeyPlugin(HW_PluginBase):
|
||||||
'download the updated firmware from {}')
|
'download the updated firmware from {}')
|
||||||
.format(self.device, client.label(), self.firmware_URL))
|
.format(self.device, client.label(), self.firmware_URL))
|
||||||
self.print_error(msg)
|
self.print_error(msg)
|
||||||
|
if handler:
|
||||||
handler.show_error(msg)
|
handler.show_error(msg)
|
||||||
|
else:
|
||||||
|
raise Exception(msg)
|
||||||
return None
|
return None
|
||||||
|
|
||||||
return client
|
return client
|
||||||
|
|
|
@ -157,7 +157,10 @@ class TrezorPlugin(HW_PluginBase):
|
||||||
'download the updated firmware from {}')
|
'download the updated firmware from {}')
|
||||||
.format(self.device, client.label(), self.firmware_URL))
|
.format(self.device, client.label(), self.firmware_URL))
|
||||||
self.print_error(msg)
|
self.print_error(msg)
|
||||||
|
if handler:
|
||||||
handler.show_error(msg)
|
handler.show_error(msg)
|
||||||
|
else:
|
||||||
|
raise Exception(msg)
|
||||||
return None
|
return None
|
||||||
|
|
||||||
return client
|
return client
|
||||||
|
|
Loading…
Add table
Reference in a new issue