maintenance (replaced dead links, added Git repositories, code dependencies, ...)
This commit is contained in:
@ -15,7 +15,7 @@ def read_text(file):
|
||||
"""
|
||||
Reads a whole text file (UTF-8 encoded).
|
||||
"""
|
||||
with open(file, mode='r', encoding='utf-8') as f:
|
||||
with open(file, mode='r', encoding='utf-8', errors='ignore') as f:
|
||||
text = f.read()
|
||||
return text
|
||||
|
||||
|
Reference in New Issue
Block a user