mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-10 08:39:15 +00:00
linting
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user