mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
Merge pull request #2930 from audiodude/funcparser-search-f-string
Remove f-string with unbound variable in funcparser
This commit is contained in:
commit
c7a2b8b37b
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