mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
Fix funcparser $search method exception message
This commit is contained in:
parent
ea877bb13e
commit
af77083b6e
1 changed files with 1 additions and 1 deletions
|
|
@ -1153,7 +1153,7 @@ def funcparser_callable_search(*args, caller=None, access="control", **kwargs):
|
|||
if not targets:
|
||||
if return_list:
|
||||
return []
|
||||
raise ParsingError(f"$search: Query '{query}' gave no matches.")
|
||||
raise ParsingError(f"$search: Query '{args[0]}' gave no matches.")
|
||||
|
||||
if len(targets) > 1 and not return_list:
|
||||
raise ParsingError(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue