6379: Can not get ancestry or relationship tabs to work
svn: r21335
This commit is contained in:
parent
ca709909cc
commit
525c08d14f
@ -126,7 +126,10 @@ class GrampsBar(gtk.Notebook):
|
|||||||
filename = self.configfile
|
filename = self.configfile
|
||||||
if filename and os.path.exists(filename):
|
if filename and os.path.exists(filename):
|
||||||
cp = ConfigParser.ConfigParser()
|
cp = ConfigParser.ConfigParser()
|
||||||
cp.read(filename)
|
try:
|
||||||
|
cp.read(filename)
|
||||||
|
except:
|
||||||
|
pass
|
||||||
for sec in cp.sections():
|
for sec in cp.sections():
|
||||||
if sec == "Bar Options":
|
if sec == "Bar Options":
|
||||||
if "visible" in cp.options(sec):
|
if "visible" in cp.options(sec):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user