mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-18 04:18:10 +00:00
parent
3141f808dd
commit
63ab0711e2
1
python/.changelog.d/1702.fixed
Normal file
1
python/.changelog.d/1702.fixed
Normal file
@ -0,0 +1 @@
|
|||||||
|
Fix `trezorctl --version` crash.
|
@ -170,7 +170,7 @@ def configure_logging(verbose: int) -> None:
|
|||||||
help="Resume given session ID.",
|
help="Resume given session ID.",
|
||||||
default=os.environ.get("TREZOR_SESSION_ID"),
|
default=os.environ.get("TREZOR_SESSION_ID"),
|
||||||
)
|
)
|
||||||
@click.version_option()
|
@click.version_option(package_name="trezor")
|
||||||
@click.pass_context
|
@click.pass_context
|
||||||
def cli_main(
|
def cli_main(
|
||||||
ctx: click.Context,
|
ctx: click.Context,
|
||||||
|
Loading…
Reference in New Issue
Block a user