From cb056da786d2c1ba91c849b7f800743cfc244e2d Mon Sep 17 00:00:00 2001 From: "A.Shpak" Date: Mon, 8 Apr 2024 10:34:08 +0300 Subject: [PATCH] - --- chatushka/_bot.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/chatushka/_bot.py b/chatushka/_bot.py index a715aad..23f605e 100644 --- a/chatushka/_bot.py +++ b/chatushka/_bot.py @@ -153,9 +153,8 @@ async def run( loop.add_signal_handler(sig, callback=lambda: ensure_future(self._stop())) except NotImplementedError: break - if self._schedulers: - logger.info(f"{self} (っ◔◡◔)っ start schedulers") for scheduler in self._schedulers: + logger.info(f"{self} (っ◔◡◔)っ start scheduler {scheduler!r}") scheduler.start() logger.info(f"{self} (っ◔◡◔)っ start polling") self._closed = False