6379: Can not get ancestry or relationship tabs to work

svn: r21337
This commit is contained in:
Paul Franklin 2013-02-10 21:11:57 +00:00
parent 8453ac9119
commit 8108adbef8

View File

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