Fix extra/missing spaces in quell output (#2991)

This commit is contained in:
Chiizujin 2022-11-22 16:44:01 +11:00
parent 393ab797fe
commit 222c7e1ec9

View file

@ -987,7 +987,7 @@ class CmdQuell(COMMAND_DEFAULT_CLASS):
"""Perform the command"""
account = self.account
permstr = (
account.is_superuser and " (superuser)" or "(%s)" % ", ".join(account.permissions.all())
account.is_superuser and "(superuser)" or "(%s)" % ", ".join(account.permissions.all())
)
if self.cmdstring in ("unquell", "unquell"):
if not account.attributes.get("_quell"):
@ -1011,7 +1011,7 @@ class CmdQuell(COMMAND_DEFAULT_CLASS):
cpermstr += "\nUse unquell to return to normal permission usage."
self.msg(cpermstr)
else:
self.msg(f"Quelling Account permissions{permstr}. Use unquell to get them back.")
self.msg(f"Quelling Account permissions {permstr}. Use unquell to get them back.")
self._recache_locks(account)