don't ignore empty search candidates
This commit is contained in:
parent
7f41e5a649
commit
9189b01d34
1 changed files with 1 additions and 1 deletions
|
|
@ -397,7 +397,7 @@ class DefaultObject(ObjectDB, metaclass=TypeclassBase):
|
|||
|
||||
# if candidates were already given, use them
|
||||
candidates = kwargs.get("candidates")
|
||||
if candidates:
|
||||
if candidates is not None:
|
||||
return candidates
|
||||
|
||||
# find candidates based on location
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue