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