quiz/quiz.py aktualisiert
Signed-off-by: gitadmin <gitadmin@noreply.everdc.eu>
This commit is contained in:
1 parent
b50145a7b1
commit
27beb861f1
1 file changed
+1
-1
+1
-1
@@ -51,7 +51,7 @@ def submit_quiz():
|
||||
user_answer = request.form.get('answer')
|
||||
correct_answer = fragen_liste[current_index]['answer']
|
||||
|
||||
if user_answer == correct_answer:
|
||||
if user_answer.lower() == correct_answer.lower():
|
||||
last_correct = True
|
||||
correct_sum += 1
|
||||
debugtxt = correct_answer + " ist richtig! passt zu deiner Angabe: " + user_answer
|
||||
|
||||
Reference in new issue
Block a user