aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/events/trivianight/_questions.py
diff options
context:
space:
mode:
authorGravatar ChrisJL <[email protected]>2022-09-23 22:58:49 +0100
committerGravatar GitHub <[email protected]>2022-09-23 22:58:49 +0100
commitf9cc77f55a7bac9cff1f5674b36b3f17560f6bfe (patch)
tree4d9a9684d6c0d8f1f749355353fbadb7fd89960b /bot/exts/events/trivianight/_questions.py
parentFix issue #1050 (#1097) (diff)
parentRemove all wait_until_guil_available as this is now done in bot-core (diff)
Merge pull request #1092 from python-discord/bot-core-migration
Diffstat (limited to 'bot/exts/events/trivianight/_questions.py')
-rw-r--r--bot/exts/events/trivianight/_questions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/events/trivianight/_questions.py b/bot/exts/events/trivianight/_questions.py
index d6beced9..5f1046dc 100644
--- a/bot/exts/events/trivianight/_questions.py
+++ b/bot/exts/events/trivianight/_questions.py
@@ -127,7 +127,7 @@ class QuestionView(View):
if len(guesses) != 0:
answers_chosen = {
answer_choice: len(
- tuple(filter(lambda x: x[0] == answer_choice, guesses.values()))
+ tuple(filter(lambda x: x[0] == answer_choice, guesses.values())) # noqa: B023
)
for answer_choice in labels
}