diff --git a/gramps/src/plugins/WriteGedcom.py b/gramps/src/plugins/WriteGedcom.py index e5690df1b..fca272a76 100644 --- a/gramps/src/plugins/WriteGedcom.py +++ b/gramps/src/plugins/WriteGedcom.py @@ -649,7 +649,7 @@ class GedcomWriter: for f in person.getParentList(): mrel = string.lower(f[1]) frel = string.lower(f[2]) - if mrel=="adopted" or mrel=="adopted": + if mrel=="adopted" or frel=="adopted": fam = f[0] break if fam: @@ -675,7 +675,7 @@ class GedcomWriter: for f in person.getParentList(): mrel = string.lower(f[1]) frel = string.lower(f[2]) - if mrel=="adopted" or mrel=="adopted": + if mrel=="adopted" or frel=="adopted": fam = f[0] break if fam: