From ccc70e9e4fb4edc906a54c88b06f9919d332351e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Runden?= Date: Tue, 19 Dec 2023 16:25:27 +0100 Subject: [PATCH] qiz OK --- quiz/quiz.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quiz/quiz.py b/quiz/quiz.py index fc3f2b6..bd15dc4 100644 --- a/quiz/quiz.py +++ b/quiz/quiz.py @@ -57,7 +57,7 @@ def submit_quiz(): user_answer = request.form.get('answer') correct_answer = fragen_liste[current_index]['answer'] - if user_answer.lower() == correct_answer.lower(): + if user_answer == correct_answer: last_correct = True correct_sum += 1 # debugtxt = correct_answer + " ist richtig! passt zu deiner Angabe: " + user_answer