diff --git a/main.py b/main.py index 22222af..62182f6 100644 --- a/main.py +++ b/main.py @@ -36,8 +36,8 @@ def runPings(): else: resTuple = (website['website_id'], False, statusCode) telegram.sendMessage(users[website['admin_id']]['telegram_id'], ( - 'Your website {} ({}) is not reachable at the moment. Maybe give it a check.' - ).format(website['name'], website['url'])) + 'Your website {} ({}) is not reachable at the moment (Code {}). Maybe give it a check.' + ).format(website['name'], website['url'], statusCode)) websitePingResults.append(resTuple) cur = conn.cursor()