fixing fstring
This commit is contained in:
parent
e3426d2124
commit
0f8c0ad9bf
9 changed files with 17 additions and 19 deletions
|
|
@ -1916,7 +1916,7 @@ def at_search_result(matches, caller, query="", quiet=False, **kwargs):
|
|||
if multimatch_string:
|
||||
error = "%s\n" % multimatch_string
|
||||
else:
|
||||
error = _("More than one match for '%s' (please narrow target):\n" % query)
|
||||
error = _("More than one match for '{query}' (please narrow target):\n".format(query=query))
|
||||
|
||||
for num, result in enumerate(matches):
|
||||
# we need to consider Commands, where .aliases is a list
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue