2006-08-22 Don Allingham <don@gramps-project.org>

* src/GrampsDb/_WriteGedcom.py: apply event type string conversion 
	fix to family types



svn: r7242
This commit is contained in:
Don Allingham
2006-08-23 03:14:06 +00:00
parent deac55eafb
commit 92f35aff02
2 changed files with 5 additions and 1 deletions

View File

@@ -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))