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 286289aaf7
commit ebae9c3915

View File

@ -5056,6 +5056,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