Skip to content

Commit

Permalink
Update planefence_notify.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
kx1t authored Jan 9, 2024
1 parent b339ef9 commit 37de8cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rootfs/usr/share/planefence/planefence_notify.sh
Original file line number Diff line number Diff line change
Expand Up @@ -299,8 +299,8 @@ then
if [[ "${PF_DISCORD,,}" == "on" || "${PF_DISCORD,,}" == "true" ]] && [[ "x$PF_DISCORD_WEBHOOKS" != "x" ]] && [[ "x$DISCORD_FEEDER_NAME" != "x" ]]
then
LOG "Planefence sending Discord notification"
python3 "$PLANEFENCEDIR"/send-discord-alert.py "$CSVLINE" "$AIRLINE"
fi
timeout 120 python3 "$PLANEFENCEDIR"/send-discord-alert.py "$CSVLINE" "$AIRLINE"
fi

# log the message we will try to tweet or toot:
if [[ -n "$MASTODON_SERVER" ]] || [ "$TWEETON" == "yes" ]
Expand Down

0 comments on commit 37de8cd

Please sign in to comment.