6379: Can not get ancestry or relationship tabs to work

svn: r21336
This commit is contained in:
Paul Franklin 2013-02-10 21:11:37 +00:00
parent fdf740b35c
commit 866796f5dc

View File

@ -149,7 +149,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):