1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-22 15:38:11 +00:00

trezorctl: ALLOWED_FIRMWARE_FORMATS should be lists (well tuples)

This commit is contained in:
matejcik 2019-02-27 13:12:18 +01:00
parent a2f1dad3d4
commit 12c0e78e3d

View File

@ -518,7 +518,7 @@ def backup_device(connect):
ALLOWED_FIRMWARE_FORMATS = {
1: (firmware.FirmwareFormat.TREZOR_ONE, firmware.FirmwareFormat.TREZOR_ONE_V2),
2: (firmware.FirmwareFormat.TREZOR_T),
2: (firmware.FirmwareFormat.TREZOR_T,),
}