1
0
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:
M1nd3r 2025-04-22 11:23:11 +02:00
parent 9e7c1f6c83
commit 360f21f21f

View File

@ -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)