9341: _deeprelationshippath line 98, NoneType in find_deep_relations
This commit is contained in:
@@ -94,7 +94,9 @@ def get_person_family_people(db, person, person_handle):
|
|||||||
def find_deep_relations(db, progress, person, path, seen, target_people):
|
def find_deep_relations(db, progress, person, path, seen, target_people):
|
||||||
if len(target_people) < 1:
|
if len(target_people) < 1:
|
||||||
return []
|
return []
|
||||||
|
|
||||||
|
if person is None:
|
||||||
|
return []
|
||||||
handle = person.get_handle()
|
handle = person.get_handle()
|
||||||
if handle in seen:
|
if handle in seen:
|
||||||
return []
|
return []
|
||||||
|
Reference in New Issue
Block a user