diff --git a/evennia/accounts/manager.py b/evennia/accounts/manager.py index 25f93ffddc..1b29803f95 100644 --- a/evennia/accounts/manager.py +++ b/evennia/accounts/manager.py @@ -164,9 +164,9 @@ class AccountDBManager(TypedObjectManager, UserManager): if typeclass: # we accept both strings and actual typeclasses if callable(typeclass): - typeclass = "%s.%s" % (typeclass.__module__, typeclass.__name__) + typeclass = f"{typeclass.__module__}.{typeclass.__name__}" else: - typeclass = "%s" % typeclass + typeclass = f"{typeclass}" query["db_typeclass_path"] = typeclass if exact: matches = self.filter(**query)