From fd89bf42c4a6498d0dffc8a62afd08fe0e3655bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20M=C3=BCller?= Date: Tue, 20 Apr 2021 15:35:41 +0200 Subject: [PATCH] Removing duplicate telegram message --- main.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/main.py b/main.py index ccff7ae..52ac91a 100644 --- a/main.py +++ b/main.py @@ -56,9 +56,6 @@ def runPings(): resTuple = (website['website_id'], True, statusCode) else: resTuple = (website['website_id'], False, statusCode) - telegram.sendMessage(users[website['admin_id']]['telegram_id'], ( - 'Your website {} ({}) is not reachable at the moment (Code {}). Maybe give it a check.' - ).format(website['name'], website['url'], statusCode)) websitePingResults.append(resTuple) # Send Telegram message if state has changed