From 525c08d14f7dfaf2df80810f46681faed82b47cb Mon Sep 17 00:00:00 2001 From: Paul Franklin Date: Sun, 10 Feb 2013 21:11:16 +0000 Subject: [PATCH] 6379: Can not get ancestry or relationship tabs to work svn: r21335 --- src/gui/grampsbar.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/gui/grampsbar.py b/src/gui/grampsbar.py index 083552542..af66195ab 100644 --- a/src/gui/grampsbar.py +++ b/src/gui/grampsbar.py @@ -126,7 +126,10 @@ class GrampsBar(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):