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
1 changed files with 1 additions and 1 deletions

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