* src/Config/_GrampsIniKeys.py (get): handle "" case

svn: r8870
This commit is contained in:
Don Allingham 2007-08-26 04:18:19 +00:00
parent 04884cd19c
commit 173ae91f8a
2 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,5 @@
2007-08-25 Don Allingham <don@gramps-project.org>
* src/Config/_GrampsIniKeys.py (get): handle "" case
* src/GrampsDb/__init__.py: Add DbBase
* src/GrampsDb/_DbBase.py: Abstract base class for template
* src/GrampsDb/Makefile.am: Add _DbBase.py

View File

@ -210,7 +210,7 @@ def get(key):
val = get_int(key)
else:
val = get_string(key)
if val == None:
if val == None or val == "":
val = default_value[key]
return val