mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-22 07:28:10 +00:00
python/trezorctl: tweak error message in get-session
This commit is contained in:
parent
7f63cf28b0
commit
4b0d8d5f6d
@ -255,7 +255,7 @@ def get_session(connect):
|
||||
client = connect()
|
||||
get_address(client, "Testnet", PASSPHRASE_TEST_PATH)
|
||||
if client.session_id is None:
|
||||
raise click.ClickException("Passphrase not enabled, session ID not available.")
|
||||
raise click.ClickException("Passphrase not enabled or firmware too old.")
|
||||
else:
|
||||
return client.session_id.hex()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user