Merge pull request #3517 from InspectorCaracal/patch-23

Don't ignore empty search candidates
This commit is contained in:
Griatch 2024-04-27 20:45:45 +02:00 committed by GitHub
commit d1705e9c4e
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