9340: The configparser is assuming the wrong encoding.

This commit is contained in:
SNoiraud committed 2016-12-15 09:28:54 +01:00
1 parent b999e2df78
commit 0e05b2f535
1 file changed
+1 -1
+1 -1
View File
@@ -180,7 +180,7 @@ class GrampletBar(Gtk.Notebook):
if filename and os.path.exists(filename):
cp = configparser.ConfigParser()
try:
cp.read(filename)
cp.read(filename, encoding='utf-8')
except:
pass
for sec in cp.sections():