Commit f47ea05b authored by Philipp Hörist's avatar Philipp Hörist

Read config files with UTF-8

parent 74a447ad
......@@ -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
......
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