From 7f5fc8311c0c2e63c6865cd80aa7aa9402829bc7 Mon Sep 17 00:00:00 2001 From: Drobysh Date: Thu, 15 Oct 2026 17:01:44 +0000 Subject: [PATCH] =?UTF-8?q?[Eva]=20ChooseWord=20/next:=20LIMIT=20fallback?= =?UTF-8?q?=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 d06cac7..f12811a 100644 --- a/routers/wordquiz.py +++ b/routers/wordquiz.py @@ -86,7 +86,7 @@ async def get_next_quiz(request: Request): FROM csv_words WHERE level_code = $1 AND word_pl != $2 ORDER BY RANDOM() - LIMIT 5 + LIMIT (wrong_count + 1) """, current_level, correct_polish) wrong_options = []