Skip to content

Commit

Permalink
fixed premature exit
Browse files Browse the repository at this point in the history
made sure scan doesn't exit if telegram not found
  • Loading branch information
PhilippMundhenk authored Oct 9, 2024
1 parent 63efb30 commit a2daf48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script/trigger_telegram.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def trigger_telegram(
print(
" INFO: TELEGRAM_TOKEN or TELEGRAM_CHATID environment variables not set, skipping Telegram trigger."
)
exit(1)
return

# URL encode the message
encoded_message = urllib.parse.quote(message, safe="")
Expand Down

0 comments on commit a2daf48

Please sign in to comment.