5335: Failure loading Geni.com GedCom into Gramps 3.3.1
svn: r18494
This commit is contained in:
parent
3581f6c22e
commit
51858c24f8
@ -5560,7 +5560,10 @@ class GedcomParser(UpdateCallback):
|
||||
"""
|
||||
if not state.location:
|
||||
state.location = gen.lib.Location()
|
||||
self.__parse_note(line, state.event, state.level+1)
|
||||
if state.event:
|
||||
self.__parse_note(line, state.event, state.level+1)
|
||||
else:
|
||||
self.__not_recognized(line, state.level)
|
||||
|
||||
def __optional_note(self, line, state):
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user