Fix export where private citations are excluded

This commit is contained in:
Nick Hall 2023-05-13 15:10:20 +01:00
parent 614332aac8
commit bfa7c0c9f4

View File

@ -1343,6 +1343,8 @@ class GedcomWriter(UpdateCallback):
""" """
citation = self.dbase.get_citation_from_handle(citation_handle) citation = self.dbase.get_citation_from_handle(citation_handle)
if citation is None: # removed by proxy
return
src_handle = citation.get_reference_handle() src_handle = citation.get_reference_handle()
if src_handle is None: if src_handle is None: