This commit is contained in:
gauthiier 2022-04-30 13:16:22 +02:00
parent 3d8dd1fbc1
commit af3f690ce1

View File

@ -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'] = ''