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