From c81a7216b7d1c245805f90d40dd2061df6a233d9 Mon Sep 17 00:00:00 2001 From: Lukas Winkler Date: Wed, 2 Oct 2019 18:00:39 +0200 Subject: [PATCH] no printing --- main.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/main.py b/main.py index af38f14..ecfba74 100644 --- a/main.py +++ b/main.py @@ -16,7 +16,6 @@ s = requests.Session() def notify(text): - print(text) bot = telegram.Bot(token=telegram_token) message = "🌩ī¸đŸŒĒī¸đŸŒ€\n" + text bot.sendMessage(chat_id=telegram_chat_id, text=message) @@ -32,7 +31,6 @@ for day in ["heute", "morgen", "uebermorgen"]: if text: notify(text) cache[day] = text - print(text) with open("cache.json", "w") as f: json.dump(cache, f)