Skip to content
Snippets Groups Projects
Verified Commit aa5e4ca2 authored by Tilman Vatteroth's avatar Tilman Vatteroth :robot:
Browse files

remove debug code

parent 383801b7
Branches
No related tags found
No related merge requests found
...@@ -9,7 +9,6 @@ exit 1 ...@@ -9,7 +9,6 @@ exit 1
fi fi
function preview { function preview {
(>&2 echo "run twitter") (>&2 echo "run twitter")
python3 twitter_bot.py --nofailmessage --daydiff 2 python3 twitter_bot.py --nofailmessage --daydiff 2
echo "" echo ""
...@@ -26,8 +25,6 @@ function preview { ...@@ -26,8 +25,6 @@ function preview {
} }
if [ ! -z "$OUTPUT" ]
then
(cat << EOF (cat << EOF
Subject: Programm-Info-Bot Subject: Programm-Info-Bot
Content-Type: text/plain; charset=UTF-8 Content-Type: text/plain; charset=UTF-8
...@@ -36,5 +33,3 @@ To: ${TO_MAIL} ...@@ -36,5 +33,3 @@ To: ${TO_MAIL}
$(preview) $(preview)
EOF EOF
) | msmtp ${MSMTP_ARGUMENTS} ${TO_MAIL} ) | msmtp ${MSMTP_ARGUMENTS} ${TO_MAIL}
fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment