diff --git a/pyrogram/dispatcher.py b/pyrogram/dispatcher.py index 2541214e..db3344da 100644 --- a/pyrogram/dispatcher.py +++ b/pyrogram/dispatcher.py @@ -119,7 +119,7 @@ class Dispatcher: self.loop.create_task(self.handler_worker(self.locks_list[-1])) ) - logging.info(f"Started {self.client.workers} HandlerTasks") + log.info(f"Started {self.client.workers} HandlerTasks") async def stop(self): if not self.client.no_updates: @@ -132,7 +132,7 @@ class Dispatcher: self.handler_worker_tasks.clear() self.groups.clear() - logging.info(f"Stopped {self.client.workers} HandlerTasks") + log.info(f"Stopped {self.client.workers} HandlerTasks") def add_handler(self, handler, group: int): async def fn():