1
0
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:
Saleem Rashid 2017-03-05 13:43:22 +00:00 committed by Pavol Rusnak
parent d03356fab1
commit dfe783d729

View File

@ -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()