cover pathological case (perhaps from privacy proxy)
This commit is contained in:
parent
040c9010d2
commit
1c8cc6e33f
@ -290,6 +290,8 @@ class RelGraphReport(Report):
|
||||
def __add_family(self, fam_handle):
|
||||
"""Add a node for a family and optionally link the spouses to it"""
|
||||
fam = self.database.get_family_from_handle(fam_handle)
|
||||
if fam is None: # perhaps from privacy proxy
|
||||
return
|
||||
fam_id = fam.get_gramps_id()
|
||||
|
||||
label = ""
|
||||
|
Loading…
Reference in New Issue
Block a user