View fix (4)
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user