diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 9481c8f56..7c6ac232b 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,3 +1,7 @@ +2006-08-22 Don Allingham + * src/GrampsDb/_WriteGedcom.py: apply event type string conversion + fix to family types + 2006-08-22 Brian Matherly * src/plugins/NarrativeWeb.py: show url when no description (#0000319) diff --git a/gramps2/src/GrampsDb/_WriteGedcom.py b/gramps2/src/GrampsDb/_WriteGedcom.py index 7640c9843..f0b30ffaf 100644 --- a/gramps2/src/GrampsDb/_WriteGedcom.py +++ b/gramps2/src/GrampsDb/_WriteGedcom.py @@ -669,7 +669,7 @@ class GedcomWriter(UpdateCallback): self.writeln("2 TYPE %s" % event.get_description()) else: self.writeln("1 EVEN") - the_type = str(etype).strip() + the_type = str(event.get_type()) if the_type: self.writeln("2 TYPE %s" % self.cnvtxt(the_type))