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