finale Änderungen
This commit is contained in:
1 parent
bf0216684d
commit
675d050581
2 files changed
+6
-3
No files matched your search
@@ -7,7 +7,6 @@ do
|
|||||||
cat <<EOF > $PDFDIR/kicopi$i.md
|
cat <<EOF > $PDFDIR/kicopi$i.md
|
||||||
---
|
---
|
||||||
title: "IQ-O-Mat"
|
title: "IQ-O-Mat"
|
||||||
author: "Ulf Borcherdt <ub@ulf-edv.de>"
|
|
||||||
author: "Kinder-College Björn Runden <br@runden.de>"
|
author: "Kinder-College Björn Runden <br@runden.de>"
|
||||||
date: "2024-01-13"
|
date: "2024-01-13"
|
||||||
---
|
---
|
||||||
@@ -18,7 +17,7 @@ date: "2024-01-13"
|
|||||||
|
|
||||||
Wenn der Raspi Hochgefahren ist, gelangt man zur App mit dem URL:
|
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:
|
Oder dem Link im QR Code folgen:
|
||||||
|
|
||||||
@@ -26,6 +25,10 @@ Oder dem Link im QR Code folgen:
|
|||||||
\\centering
|
\\centering
|
||||||
\\qrcode[height=6cm]{http://kicopi$i.local/}
|
\\qrcode[height=6cm]{http://kicopi$i.local/}
|
||||||
\\end{figure}
|
\\end{figure}
|
||||||
|
|
||||||
|
Gruß
|
||||||
|
Jakob Holderbaum, Ulf Borcherdt, Björn Runden
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
pandoc $PDFDIR/kicopi$i.md -o $PDFDIR/kicopi$i.pdf --template default.latex
|
pandoc $PDFDIR/kicopi$i.md -o $PDFDIR/kicopi$i.pdf --template default.latex
|
||||||
done
|
done
|
||||||
+1
-1
@@ -57,7 +57,7 @@ def submit_quiz():
|
|||||||
user_answer = request.form.get('answer')
|
user_answer = request.form.get('answer')
|
||||||
correct_answer = fragen_liste[current_index]['answer']
|
correct_answer = fragen_liste[current_index]['answer']
|
||||||
|
|
||||||
if user_answer == correct_answer:
|
if user_answer.strip() == correct_answer.strip():
|
||||||
last_correct = True
|
last_correct = True
|
||||||
correct_sum += 1
|
correct_sum += 1
|
||||||
# debugtxt = correct_answer + " ist richtig! passt zu deiner Angabe: " + user_answer
|
# debugtxt = correct_answer + " ist richtig! passt zu deiner Angabe: " + user_answer
|
||||||
|
|||||||
Reference in new issue
Block a user