Fixing: none of the types subclassed from GrampsType can be initialized with
value 0. svn: r10398
This commit is contained in:
parent
3f23e4b899
commit
8e5591ee16
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user