diff --git a/middlewares/throttling.py b/middlewares/throttling.py index 3202354..9013d47 100644 --- a/middlewares/throttling.py +++ b/middlewares/throttling.py @@ -17,7 +17,6 @@ class ThrottlingMiddleware(BaseMiddleware): self.prefix = key_prefix super(ThrottlingMiddleware, self).__init__() - # noinspection PyUnusedLocal async def on_process_message(self, message: types.Message, data: dict): handler = current_handler.get() dispatcher = Dispatcher.get_current()