Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't ignore empty search candidates #3517

Merged
merged 1 commit into from Apr 27, 2024
Merged

Conversation

InspectorCaracal
Copy link
Contributor

Brief overview of PR changes/additions

Providing an empty list of search candidates currently results in the unexpected behavior of falling back to the default search candidates rather than finding nothing. This replaces the truthiness check to more explicitly verify that the candidates are not the default kwarg of None

Motivation for adding to Evennia

Bug fixing

Copy link
Member

@Griatch Griatch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch!

@Griatch Griatch merged commit d1705e9 into evennia:main Apr 27, 2024
7 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants