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

+5 -2
View File
@@ -7,7 +7,6 @@ do
cat <<EOF > $PDFDIR/kicopi$i.md
---
title: "IQ-O-Mat"
author: "Ulf Borcherdt <ub@ulf-edv.de>"
author: "Kinder-College Björn Runden <br@runden.de>"
date: "2024-01-13"
---
@@ -18,7 +17,7 @@ date: "2024-01-13"
Wenn der Raspi Hochgefahren ist, gelangt man zur App mit dem URL:
* [KiCoPi$i](http://kicopi$i.local/)
* [http://KiCoPi$i.local/](http://kicopi$i.local/)
Oder dem Link im QR Code folgen:
@@ -26,6 +25,10 @@ Oder dem Link im QR Code folgen:
\\centering
\\qrcode[height=6cm]{http://kicopi$i.local/}
\\end{figure}
Gruß
Jakob Holderbaum, Ulf Borcherdt, Björn Runden
EOF
pandoc $PDFDIR/kicopi$i.md -o $PDFDIR/kicopi$i.pdf --template default.latex
done
+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