9340: The configparser is assuming the wrong encoding.
This commit is contained in:
parent
083a2a721e
commit
09cad05e05
@ -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():
|
||||||
|
Loading…
Reference in New Issue
Block a user