6379: Can not get ancestry or relationship tabs to work

svn: r21335
This commit is contained in:
Paul Franklin 2013-02-10 21:11:16 +00:00
parent ca709909cc
commit 525c08d14f

View File

@ -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):