another librecords tweak: check that a Person exists
This commit is contained in:
parent
95c39a9e1d
commit
cfd322c5df
@ -126,6 +126,8 @@ def find_records(db, filter, top_size, callname,
|
||||
|
||||
for person_handle in person_handle_list:
|
||||
person = db.get_person_from_handle(person_handle)
|
||||
if person is None:
|
||||
continue
|
||||
|
||||
# FIXME this should check for a "fallback" birth also/instead
|
||||
birth_ref = person.get_birth_ref()
|
||||
|
Loading…
Reference in New Issue
Block a user