Closed gityhup closed 8 years ago
PNG files, for example, will have "data" truncated to "89:50:4e:47:0a", causing them to be misdetected as an (invalid) ICO file.
Changing
with open(file_path) as input:
to
with open(file_path, 'rb') as input:
solves this on this OS that does not treat binary and text files differently.
Thanks, fixed.
PNG files, for example, will have "data" truncated to "89:50:4e:47:0a", causing them to be misdetected as an (invalid) ICO file.
Changing
to
solves this on this OS that does not treat binary and text files differently.