mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-03-20 01:56:15 +00:00
feat(python): implement session based trezorctl
[no changelog]
This commit is contained in:
parent
1c30adb548
commit
ca5f331e43
@ -267,6 +267,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