utf-8
This commit is contained in:
parent
3d8dd1fbc1
commit
af3f690ce1
@ -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'] = ''
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user