1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-18 04:18:10 +00:00

fix(common/tools): typo in support.py output

This commit is contained in:
matejcik 2021-06-03 12:14:20 +02:00 committed by matejcik
parent 2fac964a29
commit 00d4b0a4a9

View File

@ -498,8 +498,8 @@ def set_support_value(key, entries, reason):
set_supported(device, key, True) set_supported(device, key, True)
elif value in ("no", "false", "0"): elif value in ("no", "false", "0"):
if device in coin_info.MISSING_SUPPORT_MEANS_NO: if device in coin_info.MISSING_SUPPORT_MEANS_NO:
click.echo("Setting explicitly unsupported for {device}.") click.echo(f"Setting explicitly unsupported for {device}.")
click.echo("Perhaps you meant removing support, i.e., '{device}=' ?") click.echo(f"Perhaps you meant removing support, i.e., '{device}=' ?")
if not reason: if not reason:
reason = click.prompt(f"Enter reason for not supporting on {device}:") reason = click.prompt(f"Enter reason for not supporting on {device}:")
set_unsupported(device, key, reason) set_unsupported(device, key, reason)