2995: Unable to produce Narrated Web Site using filter and privacy settings

svn: r12543
This commit is contained in:
Benny Malengier 2009-05-19 08:43:51 +00:00
parent 4878453cf3
commit b5f8ec1717

View File

@ -153,7 +153,7 @@ class LivingProxyDb(ProxyDbBase):
If no such Person exists, None is returned. If no such Person exists, None is returned.
""" """
person = self.db.get_person_from_gramps_id(val) person = self.db.get_person_from_gramps_id(val)
if self.__is_living(person): if person and self.__is_living(person):
if self.mode == self.MODE_EXCLUDE_ALL: if self.mode == self.MODE_EXCLUDE_ALL:
return None return None
else: else: