make librecords play nice with proxy DBs
This commit is contained in:
parent
344f953c0b
commit
d85bd534d3
@ -243,7 +243,11 @@ def find_records(db, filter, top_size, callname,
|
||||
continue
|
||||
|
||||
father = db.get_person_from_handle(father_handle)
|
||||
if father is None:
|
||||
continue
|
||||
mother = db.get_person_from_handle(mother_handle)
|
||||
if mother is None:
|
||||
continue
|
||||
|
||||
name = StyledText(trans_text("%(father)s and %(mother)s")) % {
|
||||
'father': _get_styled_primary_name(father, callname,
|
||||
|
Loading…
Reference in New Issue
Block a user