[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot]
2022-10-05 06:14:16 +00:00
parent c1f1a1721a
commit c1df8f37c2
+1 -1
View File
@@ -108,7 +108,7 @@ async def start_quiz(
if custom_field == "": if custom_field == "":
custom_field = None custom_field = None
game = await redis.get(f"game:{game_pin}") game = await redis.get(f"game:{game_pin}")
while( game is not None): while game is not None:
game_pin = randint(10000000, 99999999) game_pin = randint(10000000, 99999999)
game = await redis.get(f"game:{game_pin}") game = await redis.get(f"game:{game_pin}")