From 4facc9c0d88e4aa37c3bfabf9f2e7805fdc13551 Mon Sep 17 00:00:00 2001 From: Kostiantyn Kriuchkov <36363097+Latand@users.noreply.github.com> Date: Wed, 19 Aug 2020 14:00:37 +0300 Subject: [PATCH] Update throttling.py --- middlewares/throttling.py | 1 - 1 file changed, 1 deletion(-) 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()