utf-8
This commit is contained in:
@@ -275,7 +275,7 @@ def main (args):
|
|||||||
|
|
||||||
if "text" in versions_by_type:
|
if "text" in versions_by_type:
|
||||||
try:
|
try:
|
||||||
with open (versions_by_type["text"]["path"]) as f:
|
with open (versions_by_type["text"]["path"], encoding="utf-8") as f:
|
||||||
p["text"] = f.read()
|
p["text"] = f.read()
|
||||||
except FileNotFoundError:
|
except FileNotFoundError:
|
||||||
p['text'] = ''
|
p['text'] = ''
|
||||||
|
|||||||
Reference in New Issue
Block a user