bug 9954; fix Gedcom import for empty FAMC line
This commit is contained in:
parent
f7bda7d51b
commit
5fe0a4df46
@ -4555,6 +4555,9 @@ class GedcomParser(UpdateCallback):
|
||||
@type state: CurrentState
|
||||
"""
|
||||
|
||||
if not line.data: # handles empty FAMC line
|
||||
self.__not_recognized(line, state)
|
||||
return
|
||||
sub_state = CurrentState()
|
||||
sub_state.person = state.person
|
||||
sub_state.level = state.level + 1
|
||||
|
Loading…
Reference in New Issue
Block a user