mirror of
https://github.com/kmein/niveum
synced 2026-03-21 12:21:08 +01:00
fix(praesenzlehre): dont get stuck on digit separators like 1,200
This commit is contained in:
@@ -35,7 +35,7 @@ in
|
|||||||
|
|
||||||
count="$(get_count)"
|
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
|
if [ "$new_count" -gt "$count" ]; then
|
||||||
diff="$(echo "$new_count - $count" | bc)"
|
diff="$(echo "$new_count - $count" | bc)"
|
||||||
|
|||||||
Reference in New Issue
Block a user