Skip to content

Commit b7b7660

Browse files
authored
Merge pull request #48 from Delfram99/bugfix
formatting fix
2 parents c2562e8 + d602177 commit b7b7660

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

bot/cogs/match.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -418,9 +418,9 @@ async def _process_vote(self, reaction, user):
418418

419419
# Add map vote if it is valid
420420
if user not in self.users or user in self.voted_users or \
421-
str(reaction) not in [self.bot.emoji_dict[m.dev_name] for m in self.map_pool]:
422-
await self.remove_reaction(reaction, user)
423-
return
421+
str(reaction) not in [self.bot.emoji_dict[m.dev_name] for m in self.map_pool]:
422+
await self.remove_reaction(reaction, user)
423+
return
424424

425425
try:
426426
self.map_votes[str(reaction)] += 1

0 commit comments

Comments
 (0)