From 4e0e1c545feeb8272b80971a89336fb11caa0887 Mon Sep 17 00:00:00 2001 From: Stefano Assenzo Date: Fri, 10 Mar 2023 20:04:54 +0100 Subject: [PATCH] Update main.py --- src/bot/telegram/main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bot/telegram/main.py b/src/bot/telegram/main.py index 3f90921..93aeacb 100644 --- a/src/bot/telegram/main.py +++ b/src/bot/telegram/main.py @@ -93,4 +93,5 @@ now = datetime.datetime.now() t1 = threading.Thread(target=bot.polling).start() while True: + time.sleep(10) schedule.run_pending()