make librecords play nice with proxy DBs

This commit is contained in:
Paul Franklin 2016-04-25 21:31:08 -07:00
parent 344f953c0b
commit d85bd534d3

View File

@ -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,