From 0e05b2f5357ae0decd8ab6778fde094b9253e551 Mon Sep 17 00:00:00 2001 From: SNoiraud Date: Thu, 15 Dec 2016 09:28:54 +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 c840347c4..6ababe885 100644 --- a/gramps/gui/widgets/grampletbar.py +++ b/gramps/gui/widgets/grampletbar.py @@ -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():