9340: The configparser is assuming the wrong encoding.

This commit is contained in:
SNoiraud 2016-12-15 09:32:02 +01:00
parent 083a2a721e
commit 09cad05e05

View File

@ -178,7 +178,7 @@ class GrampletBar(Gtk.Notebook):
if filename and os.path.exists(filename): if filename and os.path.exists(filename):
cp = configparser.ConfigParser() cp = configparser.ConfigParser()
try: try:
cp.read(filename) cp.read(filename, encoding='utf-8')
except: except:
pass pass
for sec in cp.sections(): for sec in cp.sections():