1
0
mirror of https://github.com/kmein/niveum synced 2026-03-16 10:11:08 +01:00

fix(praesenzlehre): dont get stuck on digit separators like 1,200

This commit is contained in:
2021-03-16 11:27:31 +01:00
parent 04247c6ca1
commit f4c8094ad8

View File

@@ -35,7 +35,7 @@ in
count="$(get_count)"
new_count="$(curl -sSL https://praesenzlehre-berlin.org/ | pup '.dk-speakout-signature-count span text{}')"
new_count="$(curl -sSL https://praesenzlehre-berlin.org/ | pup '.dk-speakout-signature-count span text{}' | tr -dc 0-9)"
if [ "$new_count" -gt "$count" ]; then
diff="$(echo "$new_count - $count" | bc)"