Skip to content

Commit

Permalink
Merge pull request #282 from The-4th-Hokage/deepsource-fix-eff6d9cd
Browse files Browse the repository at this point in the history
Remove unnecessary use of comprehension
  • Loading branch information
Dhruvacube authored Oct 30, 2021
2 parents ff793b3 + b7b0c7a commit 893c428
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion minato_namikaze/bot_files/cogs/polls.py
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ async def quickpoll(self, ctx, *questions_and_choices: str):
"Need Read Message History and Add Reactions permissions.")

question = questions_and_choices[0]
choices = [(e, v) for e, v in enumerate(questions_and_choices[1:])]
choices = list(enumerate(questions_and_choices[1:]))

try:
await ctx.message.delete()
Expand Down

0 comments on commit 893c428

Please sign in to comment.