Merge pull request #157 from prculley/bug7949
Bug 7949, crash on GEDCOM import with empty _AKA lines
This commit is contained in:
parent
4413c7c88b
commit
f92c35d797
@ -4344,6 +4344,8 @@ class GedcomParser(UpdateCallback):
|
||||
attr.set_type(AttributeType.NICKNAME)
|
||||
attr.set_value(line.data)
|
||||
state.person.add_attribute(attr)
|
||||
elif name_len == 0:
|
||||
return
|
||||
else:
|
||||
name = Name()
|
||||
surname = Surname()
|
||||
|
Loading…
Reference in New Issue
Block a user