diff options
author | 2023-11-06 10:40:24 +0000 | |
---|---|---|
committer | 2023-11-06 10:42:02 +0000 | |
commit | 428c8def8ba10b4a512971115243b6993a3d940b (patch) | |
tree | 5986c80aca7158e13b19a59f75cc3a6ca6d0f53e /bot/exts/fun/trivia_quiz.py | |
parent | Use ruff's isort implementation (diff) |
Format code with new ruff rules
Diffstat (limited to 'bot/exts/fun/trivia_quiz.py')
-rw-r--r-- | bot/exts/fun/trivia_quiz.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/fun/trivia_quiz.py b/bot/exts/fun/trivia_quiz.py index b96007b5..4f352b71 100644 --- a/bot/exts/fun/trivia_quiz.py +++ b/bot/exts/fun/trivia_quiz.py @@ -430,7 +430,7 @@ class TriviaQuiz(commands.Cog): try: msg = await self.bot.wait_for("message", check=check_func(quiz_entry.var_tol), timeout=10) - except asyncio.TimeoutError: + except TimeoutError: # In case of TimeoutError and the game has been stopped, then do nothing. if not self.game_status[ctx.channel.id]: break |