mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-23 17:47:31 +00:00
hardware cmdline handler: print messages to stderr
This commit is contained in:
parent
4b560250a6
commit
5613f9b903
2 changed files with 2 additions and 2 deletions
|
@ -37,7 +37,7 @@ class CmdLineHandler:
|
|||
print_msg(msg)
|
||||
|
||||
def show_error(self, msg, blocking=False):
|
||||
print_msg(msg)
|
||||
print_error(msg)
|
||||
|
||||
def update_status(self, b):
|
||||
print_error('hw device status', b)
|
||||
|
|
|
@ -224,7 +224,7 @@ class TrezorClientBase(PrintError):
|
|||
|
||||
def button_request(self, code):
|
||||
message = self.msg or MESSAGES.get(code) or MESSAGES['default']
|
||||
self.handler.show_message(message.format(self.device), self.client.cancel)
|
||||
self.handler.show_error(message.format(self.device), self.client.cancel)
|
||||
|
||||
def get_pin(self, code=None):
|
||||
if code == 2:
|
||||
|
|
Loading…
Add table
Reference in a new issue