From 6cc8ee58bf0088e640372c7e2def8d9b624075d6 Mon Sep 17 00:00:00 2001 From: Arial-Z Date: Mon, 26 Feb 2024 23:39:01 +0100 Subject: [PATCH] Fix airing loop wrong log indent --- functions.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/functions.sh b/functions.sh index e74d1f1..d974075 100644 --- a/functions.sh +++ b/functions.sh @@ -90,7 +90,12 @@ function get-anilist-infos () { elif [[ $rate_limit -ge 3 ]] then sleep 0.8 - printf "%s\t\t - Done\n" "$(date +%H:%M:%S)" | tee -a "$LOG" + if [[ "$airing_loop" == 1 ]] + then + printf "%s\t\t\t - Done\n" "$(date +%H:%M:%S)" | tee -a "$LOG" + else + printf "%s\t\t - Done\n" "$(date +%H:%M:%S)" | tee -a "$LOG" + fi break elif [[ $rate_limit -lt 3 ]] then