mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-01-10 15:30:55 +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)
|
data = sign(data, args.pem)
|
||||||
check_signatures(data)
|
check_signatures(data)
|
||||||
|
|
||||||
fp = open(args.path, 'w')
|
fp = open(args.path, 'wb')
|
||||||
fp.write(data)
|
fp.write(data)
|
||||||
fp.close()
|
fp.close()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user