Fixing: none of the types subclassed from GrampsType can be initialized with

value 0.


svn: r10398
This commit is contained in:
Zsolt Foldvari committed 2008-03-25 22:59:59 +00:00
1 parent 3f23e4b899
commit 8e5591ee16
1 file changed
+1 -1
+1 -1
View File
@@ -75,7 +75,7 @@ class GrampsType(object):
Create a new type, initialize the value from one of several possible
states.
"""
if value:
if value is not None:
self.set(value)
else:
self.val = self._DEFAULT