9340: The configparser is assuming the wrong encoding.

This commit is contained in:
SNoiraud 2016-12-15 09:28:54 +01:00
parent b999e2df78
commit 0e05b2f535

View File

@ -180,7 +180,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():