fixing fstring

This commit is contained in:
trhr 2020-04-16 05:53:51 -05:00
parent e3426d2124
commit 0f8c0ad9bf
9 changed files with 17 additions and 19 deletions

View file

@ -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: