Commit c3e84053 authored by Edvard Rejthar's avatar Edvard Rejthar
Browse files

scan failed when well-hidden encoding bug came at the scene

parent 60d80fa0
......@@ -27,5 +27,5 @@ while True:
method = "w"
with open(file, method) as f:
with open(file, method +"b") as f: # without writing as bytes, some pages end up with UnicodeEncodeError: 'ascii' codec can't encode character '\xe9' in position 197: ordinal not in range(128)
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