@ -141,7 +141,10 @@ class KeepKeyPlugin(HW_PluginBase):
'download the updated firmware from {}')
.format(self.device, client.label(), self.firmware_URL))
self.print_error(msg)
handler.show_error(msg)
if handler:
else:
raise Exception(msg)
return None
return client
@ -157,7 +157,10 @@ class TrezorPlugin(HW_PluginBase):