mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-03-12 14:16:06 +00:00
feat(python): implement session based trezorctl
[no changelog]
This commit is contained in:
parent
bdf0cbbdb5
commit
035e817ed9
@ -273,6 +273,11 @@ class TrezorConnection:
|
||||
empty_passphrase=empty_passphrase,
|
||||
must_resume=must_resume,
|
||||
)
|
||||
except exceptions.DeviceLockedException:
|
||||
click.echo(
|
||||
"Device is locked, enter a pin on the device.",
|
||||
err=True,
|
||||
)
|
||||
except transport.DeviceIsBusy:
|
||||
click.echo("Device is in use by another process.")
|
||||
sys.exit(1)
|
||||
|
Loading…
Reference in New Issue
Block a user