From dae056e719a4ff36ab7e94c028b591473d132d08 Mon Sep 17 00:00:00 2001 From: Tyrannicodin Date: Thu, 1 Aug 2024 08:47:08 +0100 Subject: [PATCH] Change f-string to run on lower python versions --- util/server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/server.py b/util/server.py index 34e3310..168cdd5 100644 --- a/util/server.py +++ b/util/server.py @@ -519,7 +519,7 @@ async def update_status(self: "ServerManager") -> None: print(e) await self.client.change_presence( activity=Activity( - f"{games} game{"" if games == 1 else "s"}", ActivityType.WATCHING + f"{games} game{'' if games == 1 else 's'}", ActivityType.WATCHING ) )