9341: _deeprelationshippath line 98, NoneType in find_deep_relations
This commit is contained in:
parent
f95c8a2036
commit
1f45e8996b
@ -95,6 +95,8 @@ def find_deep_relations(db, progress, person, path, seen, target_people):
|
||||
if len(target_people) < 1:
|
||||
return []
|
||||
|
||||
if person is None:
|
||||
return []
|
||||
handle = person.get_handle()
|
||||
if handle in seen:
|
||||
return []
|
||||
|
Loading…
x
Reference in New Issue
Block a user