View fix (4)

This commit is contained in:
Luciano Gervasoni
2025-08-14 14:25:56 +02:00
parent 856a9e7562
commit 1fbf4cf3d4

View File

@@ -108,8 +108,8 @@ def notify_status(request):
.order_by('id_search__search')
bot_token = os.getenv("TELEGRAM_BOT_TOKEN", "")
chat_id = os.getenv("TELEGRAM_CHAT_ID", "")
bot_token = os.environ.get("TELEGRAM_BOT_TOKEN", "")
chat_id = os.environ.get("TELEGRAM_CHAT_ID", "")
message = "During the last {} hours:\n{}\n{}\n{}".format(last_hours, urls_data_status, urls_data_source, urls_data_search)