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