Read config.md as UTF-8
This commit is contained in:
parent
83cc2a6ce8
commit
0c1136e379
@ -216,7 +216,7 @@ When loading '%(name)s':
|
||||
def addonConfigHelp(self, dir):
|
||||
path = os.path.join(self.addonsFolder(dir), "config.md")
|
||||
if os.path.exists(path):
|
||||
with open(path) as f:
|
||||
with open(path, encoding="utf-8") as f:
|
||||
return markdown.markdown(f.read())
|
||||
else:
|
||||
return ""
|
||||
|
Loading…
Reference in New Issue
Block a user