From 34bae9bb6ade9dcb6da9582d8930eea3fa1851cc Mon Sep 17 00:00:00 2001 From: Drobysh Date: Thu, 15 Oct 2026 17:01:52 +0000 Subject: [PATCH] =?UTF-8?q?[Eva]=20ChooseWord=20/next:=20=D0=BE=D0=B1?= =?UTF-8?q?=D1=80=D0=B5=D0=B7=D0=BA=D0=B0=20=D0=B2=D0=B0=D1=80=D0=B8=D0=B0?= =?UTF-8?q?=D0=BD=D1=82=D0=BE=D0=B2=20=D0=BF=D0=BE=20wrong=5Fcount?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- routers/wordquiz.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routers/wordquiz.py b/routers/wordquiz.py index b9dfa2f..1e4a30a 100644 --- a/routers/wordquiz.py +++ b/routers/wordquiz.py @@ -96,7 +96,7 @@ async def get_next_quiz(request: Request): if wl not in seen: wrong_options.append(w["word_pl"]) seen.add(wl) - if len(wrong_options) >= 2: + if len(wrong_options) >= wrong_count: break recent_words = recent_words + [correct_polish] + wrong_options