fixed translation of attributes on a GEDCOM write

svn: r305
This commit is contained in:
Don Allingham 2001-08-07 17:08:43 +00:00
parent 099bd7fa5c
commit b90aeaa04a

View File

@ -398,7 +398,7 @@ def write_person(g,person):
for attr in person.getAttributeList(): for attr in person.getAttributeList():
name = attr.getType() name = attr.getType()
if const.personalConstantAttributes.has_key(name): if const.personalConstantAttributes.has_key(name):
val = const.personalConstantEvents[name] val = const.personalConstantAttributes[name]
else: else:
val = "" val = ""
if val != "" : if val != "" :