don't ignore empty search candidates

This commit is contained in:
InspectorCaracal 2024-04-23 16:28:15 -06:00 committed by GitHub
parent 7f41e5a649
commit 9189b01d34
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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