mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
Merge pull request #2823 from aogier/bugfix/missing-f-strings-prefix
add missing f-strings prefix
This commit is contained in:
commit
718e06e6ff
2 changed files with 3 additions and 3 deletions
|
|
@ -298,7 +298,7 @@ class DefaultAccount(AccountDB, metaclass=TypeclassBase):
|
|||
return
|
||||
if not obj.access(self, "puppet"):
|
||||
# no access
|
||||
self.msg("You don't have permission to puppet '{obj.key}'.")
|
||||
self.msg(f"You don't have permission to puppet '{obj.key}'.")
|
||||
return
|
||||
if obj.account:
|
||||
# object already puppeted
|
||||
|
|
|
|||
|
|
@ -874,14 +874,14 @@ class CmdSetHelp(CmdHelp):
|
|||
if isinstance(match, HelpCategory):
|
||||
warning = (
|
||||
f"'{querystr}' matches (or partially matches) the name of "
|
||||
"help-category '{match.key}'. If you continue, your help entry will "
|
||||
f"help-category '{match.key}'. If you continue, your help entry will "
|
||||
"take precedence and the category (or part of its name) *may* not "
|
||||
"be usable for grouping help entries anymore."
|
||||
)
|
||||
elif inherits_from(match, "evennia.commands.command.Command"):
|
||||
warning = (
|
||||
f"'{querystr}' matches (or partially matches) the key/alias of "
|
||||
"Command '{match.key}'. Command-help take precedence over other "
|
||||
f"Command '{match.key}'. Command-help take precedence over other "
|
||||
"help entries so your help *may* be impossible to reach for those "
|
||||
"with access to that command."
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue