From 8108adbef8538b238f0a136ad5520719c7026784 Mon Sep 17 00:00:00 2001 From: Paul Franklin Date: Sun, 10 Feb 2013 21:11:57 +0000 Subject: [PATCH] 6379: Can not get ancestry or relationship tabs to work svn: r21337 --- gramps/gui/widgets/grampletbar.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gramps/gui/widgets/grampletbar.py b/gramps/gui/widgets/grampletbar.py index c01ae8757..76df4e661 100644 --- a/gramps/gui/widgets/grampletbar.py +++ b/gramps/gui/widgets/grampletbar.py @@ -150,7 +150,10 @@ class GrampletBar(Gtk.Notebook): filename = self.configfile if filename and os.path.exists(filename): cp = configparser.ConfigParser() - cp.read(filename) + try: + cp.read(filename) + except: + pass for sec in cp.sections(): if sec == "Bar Options": if "visible" in cp.options(sec):