View fix (4)
This commit is contained in:
1 parent
856a9e7562
commit
1fbf4cf3d4
1 file changed
+2
-2
@@ -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