mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-23 06:48:16 +00:00
python: trezorctl should not print empty line if result is None
This commit is contained in:
parent
c151fdeefd
commit
05131c328d
@ -182,7 +182,7 @@ def print_result(res, path, verbose, is_json):
|
||||
click.echo("%s: %s" % (k, v))
|
||||
elif isinstance(res, protobuf.MessageType):
|
||||
click.echo(protobuf.format_message(res))
|
||||
else:
|
||||
elif res is not None:
|
||||
click.echo(res)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user