1
0
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:
matejcik 2020-02-10 16:22:48 +01:00
parent 7f63cf28b0
commit 4b0d8d5f6d

View File

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