diff --git a/python/src/trezorlib/cli/__init__.py b/python/src/trezorlib/cli/__init__.py index f072c67cad..0f5697a4f2 100644 --- a/python/src/trezorlib/cli/__init__.py +++ b/python/src/trezorlib/cli/__init__.py @@ -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)