diff --git a/src/Config/_GrampsIniKeys.py b/src/Config/_GrampsIniKeys.py index a8e6c64cc..9feb108e7 100644 --- a/src/Config/_GrampsIniKeys.py +++ b/src/Config/_GrampsIniKeys.py @@ -229,8 +229,11 @@ def get_bool(key): val = None if val in (True,False): return val - else: + elif key in default_value: return default_value[key] + else: + print "No default value for %s" % key + return False def set_bool(key, val): if val in (True,False):