mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-05-28 11:48:45 +00:00
fix(python): make ping work on uninitialized device
This commit is contained in:
parent
9e7c1f6c83
commit
360f21f21f
@ -322,7 +322,7 @@ def version() -> str:
|
||||
@cli.command()
|
||||
@click.argument("message")
|
||||
@click.option("-b", "--button-protection", is_flag=True)
|
||||
@with_session(empty_passphrase=True)
|
||||
@with_session(seedless=True)
|
||||
def ping(session: "Session", message: str, button_protection: bool) -> str:
|
||||
"""Send ping message."""
|
||||
return session.ping(message, button_protection)
|
||||
|
Loading…
Reference in New Issue
Block a user