fixing fstring
This commit is contained in:
parent
e3426d2124
commit
0f8c0ad9bf
9 changed files with 17 additions and 19 deletions
|
|
@ -1055,7 +1055,7 @@ class DefaultObject(ObjectDB, metaclass=TypeclassBase):
|
|||
# See if we need to kick the account off.
|
||||
|
||||
for session in self.sessions.all():
|
||||
session.msg(_("Your character %s has been destroyed.") % self.key)
|
||||
session.msg(_("Your character {key} has been destroyed.".format(key=self.key)))
|
||||
# no need to disconnect, Account just jumps to OOC mode.
|
||||
# sever the connection (important!)
|
||||
if self.account:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue