diff --git a/app_urls/fetcher/views_base.py b/app_urls/fetcher/views_base.py index 05ed1a7..c329ebd 100644 --- a/app_urls/fetcher/views_base.py +++ b/app_urls/fetcher/views_base.py @@ -112,17 +112,17 @@ def notify_status(request): chat_id = os.environ.get("TELEGRAM_CHAT_ID", "") - message = "During the last {} hours:\n" + message = "During the last {} hours:\n\n".format(last_hours) message += "URLs per status:\n" for o in urls_data_status: - message += " {}".format(o) + message += " {}\n".format(o) message += "URLs per source:\n" for o in urls_data_source: - message += " {}".format(o) + message += " {}\n".format(o) message += "URLs per search:\n" for o in urls_data_search: - message += " {}".format(o) + message += " {}\n".format(o) url = f"https://api.telegram.org/bot{bot_token}/sendMessage" params = {