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