mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-22 22:38:08 +00:00
python: style
This commit is contained in:
parent
e900173b9c
commit
15e33b42c0
@ -74,9 +74,7 @@ def validate_firmware(version, fw, expected_fingerprint=None):
|
||||
fingerprint_onev2 = firmware.digest(
|
||||
firmware.FirmwareFormat.TREZOR_ONE_V2, fw.embedded_onev2
|
||||
).hex()
|
||||
click.echo(
|
||||
"Embedded v2 image fingerprint: {}".format(fingerprint_onev2)
|
||||
)
|
||||
click.echo("Embedded v2 image fingerprint: {}".format(fingerprint_onev2))
|
||||
if expected_fingerprint and fingerprint != expected_fingerprint:
|
||||
click.echo("Expected fingerprint: {}".format(expected_fingerprint))
|
||||
click.echo("Fingerprints do not match, aborting.")
|
||||
|
Loading…
Reference in New Issue
Block a user