Skip to content

Commit

Permalink
open() manifest savefile in binary mode to make it work with Python 3
Browse files Browse the repository at this point in the history
Signed-off-by: Juuso Alasuutari <[email protected]>
  • Loading branch information
imaami authored and mstorsjo committed Jul 15, 2020
1 parent eb2e933 commit 41b318d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vsdownload.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ def getManifest(args):
else:
print("Old saved manifest in \"%s\" is still current" % (filename))
else:
f = open(filename, "w")
f = open(filename, "wb")
f.write(manifestdata)
f.close()
print("Saved installer manifest to \"%s\"" % (filename))
Expand Down

0 comments on commit 41b318d

Please sign in to comment.