Skip to content

Commit

Permalink
formatting fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Delfram99 committed Jan 12, 2023
1 parent c2562e8 commit d602177
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bot/cogs/match.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d602177

Please sign in to comment.