1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-10 08:39:15 +00:00
This commit is contained in:
deadc0de6
2021-09-22 11:19:55 +02:00
parent 55e6ff46b8
commit 89aa981944
2 changed files with 7 additions and 7 deletions

View File

@@ -183,7 +183,7 @@ class Templategen:
path = os.path.normpath(path)
if not os.path.exists(path):
raise TemplateNotFound(path)
with open(path, 'r') as file:
with open(path, 'r', encoding='utf8') as file:
content = file.read()
return content