diff --git a/gramps/plugins/webreport/person.py b/gramps/plugins/webreport/person.py index 363a54f33..0698fe929 100644 --- a/gramps/plugins/webreport/person.py +++ b/gramps/plugins/webreport/person.py @@ -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)