Skip to content
Snippets Groups Projects
Commit f47ea05b authored by Philipp Hörist's avatar Philipp Hörist
Browse files

Read config files with UTF-8

parent 74a447ad
No related branches found
No related tags found
No related merge requests found
......@@ -48,7 +48,7 @@ class OptionsParser:
def read(self):
try:
fd = open(self.__filename)
fd = open(self.__filename, encoding='utf-8')
except Exception:
if os.path.exists(self.__filename):
#we talk about a file
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment