Merge pull request #195 from prculley/bug9579_42

bug 9579 Gedcom import of FTM file with OCCU record crashes import
This commit is contained in:
Doug Blank 2016-07-16 11:22:22 -04:00 committed by GitHub
commit e53df38c8a

View File

@ -5417,7 +5417,8 @@ class GedcomParser(UpdateCallback):
@type state: CurrentState @type state: CurrentState
""" """
if self.is_ftw and state.event.type in FTW_BAD_PLACE: if self.is_ftw and (state.event.type in FTW_BAD_PLACE) \
and not state.event.get_description():
state.event.set_description(line.data) state.event.set_description(line.data)
else: else:
title = line.data title = line.data