cope with pathlogical "person"

This commit is contained in:
Paul Franklin 2017-08-19 19:01:39 -07:00
parent 87a54127ff
commit bb8a214c68

View File

@ -1662,6 +1662,8 @@ class PersonPages(BasePage):
"""
center_person = self.r_db.get_person_from_gramps_id(
self.report.options['pid'])
if center_person is None:
return
relationship = self.rel_class.get_one_relationship(self.r_db,
self.person,
center_person)