finale Änderungen

This commit is contained in:
br committed 2023-12-20 12:14:07 +01:00
1 parent bf0216684d
commit 675d050581
2 files changed
+6 -3

No files matched your search

+1 -1
View File
@@ -57,7 +57,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.strip() == correct_answer.strip():
last_correct = True
correct_sum += 1
# debugtxt = correct_answer + " ist richtig! passt zu deiner Angabe: " + user_answer