Fix Gedcom import for "1 MARR Y" issue

Fixes #10188
This commit is contained in:
prculley 2017-09-22 11:59:19 -05:00 committed by Nick Hall
parent d5ca13254f
commit e5ce8bc829

View File

@ -5018,6 +5018,8 @@ class GedcomParser(UpdateCallback):
event.set_description('')
else:
state.family.type.set(FamilyRelType.MARRIED)
if descr == "Y":
event.set_description('')
self.dbase.commit_event(event, self.trans)
event_ref.ref = event.handle