* src/Config/_GrampsIniKeys.py: Handle invalid default key

svn: r7259
This commit is contained in:
Brian Matherly 2006-08-25 04:20:16 +00:00
parent 2af2a92e10
commit bf3aab4a0a

View File

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