From aa5e4ca287c279b479d82fdb14f7cbf98239f833 Mon Sep 17 00:00:00 2001 From: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de> Date: Wed, 9 Sep 2020 19:45:55 +0200 Subject: [PATCH] remove debug code --- run.sh | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/run.sh b/run.sh index e3fa98c4..6e4c2e3b 100755 --- a/run.sh +++ b/run.sh @@ -9,7 +9,6 @@ exit 1 fi function preview { - (>&2 echo "run twitter") python3 twitter_bot.py --nofailmessage --daydiff 2 echo "" @@ -26,8 +25,6 @@ function preview { } -if [ ! -z "$OUTPUT" ] -then (cat << EOF Subject: Programm-Info-Bot Content-Type: text/plain; charset=UTF-8 @@ -35,6 +32,4 @@ To: ${TO_MAIL} $(preview) EOF -) | msmtp ${MSMTP_ARGUMENTS} ${TO_MAIL} - -fi +) | msmtp ${MSMTP_ARGUMENTS} ${TO_MAIL} -- GitLab