Remove non-existent old attribute personal for an event

This commit is contained in:
Bruno Cornec 2020-05-21 02:45:58 +02:00 committed by Paul Culley
parent 3f217aeed1
commit a265f1fd38

View File

@ -1306,10 +1306,8 @@ class GrampsParser(UpdateCallback):
return
if self.family:
event.personal = False
self.family.add_event_ref(self.eventref)
elif self.person:
event.personal = True
if (event.type == EventType.BIRTH) \
and (self.eventref.role == EventRoleType.PRIMARY) \
and (self.person.get_birth_ref() is None):