mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-22 22:38:08 +00:00
firmware_sign: Python 3 compatibility (#156)
This commit is contained in:
parent
d03356fab1
commit
dfe783d729
@ -189,7 +189,7 @@ def main(args):
|
||||
data = sign(data, args.pem)
|
||||
check_signatures(data)
|
||||
|
||||
fp = open(args.path, 'w')
|
||||
fp = open(args.path, 'wb')
|
||||
fp.write(data)
|
||||
fp.close()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user