9288: Error still when creating a Narrative Website Report
This commit is contained in:
parent
b1cf276104
commit
c4fac4aad8
@ -5435,8 +5435,14 @@ class PersonPages(BasePage):
|
|||||||
family = self.dbase_.get_family_from_handle(parent_handle)
|
family = self.dbase_.get_family_from_handle(parent_handle)
|
||||||
father_handle = family.get_father_handle()
|
father_handle = family.get_father_handle()
|
||||||
mother_handle = family.get_mother_handle()
|
mother_handle = family.get_mother_handle()
|
||||||
father = self.dbase_.get_person_from_handle(father_handle)
|
if father_handle:
|
||||||
mother = self.dbase_.get_person_from_handle(mother_handle)
|
father = self.dbase_.get_person_from_handle(father_handle)
|
||||||
|
else:
|
||||||
|
father = None
|
||||||
|
if mother_handle:
|
||||||
|
mother = self.dbase_.get_person_from_handle(mother_handle)
|
||||||
|
else:
|
||||||
|
mother = None
|
||||||
if father:
|
if father:
|
||||||
father_name = self.get_name(father)
|
father_name = self.get_name(father)
|
||||||
if mother:
|
if mother:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user