Commit 07affa72 authored by Jeremy Hylton's avatar Jeremy Hylton

Open file in binary mode on Windows.

parent 17db2d26
...@@ -80,7 +80,7 @@ def U64(v): ...@@ -80,7 +80,7 @@ def U64(v):
return l return l
def check(path): def check(path):
file = open(path, 'r') file = open(path, 'rb')
file.seek(0, 2) file.seek(0, 2)
file_size = file.tell() file_size = file.tell()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment