From 070479f7af2e91ecb256216e214845dcf7fa9237 Mon Sep 17 00:00:00 2001 From: coder2020official Date: Sat, 5 Nov 2022 23:06:28 +0400 Subject: [PATCH] Update async_telebot.py --- telebot/async_telebot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/telebot/async_telebot.py b/telebot/async_telebot.py index f93a556..a44155c 100644 --- a/telebot/async_telebot.py +++ b/telebot/async_telebot.py @@ -354,7 +354,7 @@ class AsyncTeleBot: while self._polling: try: - await self._process_polling(non_stop=False, timeout=timeout, request_timeout=request_timeout, + await self._process_polling(non_stop=True, timeout=timeout, request_timeout=request_timeout, allowed_updates=allowed_updates, *args, **kwargs) except Exception as e: if logger_level and logger_level >= logging.ERROR: