Update throttling.py
This commit is contained in:
parent
ecf3a1cf3c
commit
4facc9c0d8
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue
Block a user