diff --git a/evennia/accounts/models.py b/evennia/accounts/models.py index a0283e2aef..79da54db34 100644 --- a/evennia/accounts/models.py +++ b/evennia/accounts/models.py @@ -137,10 +137,10 @@ class AccountDB(TypedObject, AbstractUser): # def __str__(self): - return smart_str("%s(account %s)" % (self.name, self.dbid)) + return smart_str(f"{self.name}(account {self.dbid})") def __repr__(self): - return "%s(account#%s)" % (self.name, self.dbid) + return f"{self.name}(account#{self.dbid})" #@property def __username_get(self):