Skip to content

Commit

Permalink
Change f-string to run on lower python versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Tyrannicodin committed Aug 1, 2024
1 parent a90c2c0 commit dae056e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
)
)

Expand Down

0 comments on commit dae056e

Please sign in to comment.