diff --git a/src/GrampsDb/_WriteGedcom.py b/src/GrampsDb/_WriteGedcom.py index 2dd26b1e2..b35977d69 100644 --- a/src/GrampsDb/_WriteGedcom.py +++ b/src/GrampsDb/_WriteGedcom.py @@ -1123,9 +1123,9 @@ class GedcomWriter(UpdateCallback): for child_ref in family.get_child_ref_list(): if child_ref.ref == person.handle: if (child_ref.frel == - RelLib.ChildRef.ADOPTED) \ + RelLib.ChildRefType.ADOPTED) \ or (child_ref.mrel \ - == RelLib.ChildRef.ADOPTED): + == RelLib.ChildRefType.ADOPTED): self.writeln("2 PEDI Adopted") break