Commit e2919927 authored by Philipp Hörist's avatar Philipp Hörist
Browse files

CSSConfig: Specify encoding with open()

parent a6a54d49
......@@ -149,7 +149,7 @@ def _load_css(self):
def _load_css_from_file(self, filename, priority):
path = configpaths.get('STYLE') / filename
with open(path, "r") as file_:
with open(path, "r", encoding='utf8') as file_:
css =
except Exception as exc:
log.error('Error loading css: %s', exc)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment