Fix missing f-strings for dig

This commit is contained in:
Griatch 2022-11-07 22:08:22 +01:00
parent 68d45f3526
commit 176cf1133e

View file

@ -970,8 +970,8 @@ class CmdDig(ObjManipCommand):
if new_to_exit.aliases.all(): if new_to_exit.aliases.all():
alias_string = " (%s)" % ", ".join(new_to_exit.aliases.all()) alias_string = " (%s)" % ", ".join(new_to_exit.aliases.all())
exit_to_string = ( exit_to_string = (
"\nCreated Exit from {location.name} to {new_room.name}:" f"\nCreated Exit from {location.name} to {new_room.name}:"
" {new_to_exit}({new_to_exit.dbref}){alias_string}." f" {new_to_exit}({new_to_exit.dbref}){alias_string}."
) )
# Create exit back from new room # Create exit back from new room