From d602177edd7a903817410871f7a5f0e94f9026dd Mon Sep 17 00:00:00 2001 From: Delfram Date: Fri, 13 Jan 2023 00:09:23 +0100 Subject: [PATCH] formatting fix --- bot/cogs/match.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bot/cogs/match.py b/bot/cogs/match.py index 49ad68a6..658caaa1 100644 --- a/bot/cogs/match.py +++ b/bot/cogs/match.py @@ -418,9 +418,9 @@ async def _process_vote(self, reaction, user): # Add map vote if it is valid if user not in self.users or user in self.voted_users or \ - str(reaction) not in [self.bot.emoji_dict[m.dev_name] for m in self.map_pool]: - await self.remove_reaction(reaction, user) - return + str(reaction) not in [self.bot.emoji_dict[m.dev_name] for m in self.map_pool]: + await self.remove_reaction(reaction, user) + return try: self.map_votes[str(reaction)] += 1