From 09cad05e0598dca1bd9d900ddc8c16dddd7aa8c0 Mon Sep 17 00:00:00 2001 From: SNoiraud Date: Thu, 15 Dec 2016 09:32:02 +0100 Subject: [PATCH] 9340: The configparser is assuming the wrong encoding. --- gramps/gui/widgets/grampletbar.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gramps/gui/widgets/grampletbar.py b/gramps/gui/widgets/grampletbar.py index 62c7d7b8c..6ec6f8e78 100644 --- a/gramps/gui/widgets/grampletbar.py +++ b/gramps/gui/widgets/grampletbar.py @@ -178,7 +178,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():