Update async_telebot.py

This commit is contained in:
_run 2022-11-26 20:08:00 +04:00 committed by GitHub
parent 0759c8e081
commit 8d82b3d56b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -486,7 +486,6 @@ class AsyncTeleBot:
handler_error = None
data = {}
skip_handlers = False
params = []
if middlewares:
for middleware in middlewares:
@ -507,6 +506,7 @@ class AsyncTeleBot:
if handlers and not(skip_handlers):
try:
for handler in handlers:
params = []
process_update = await self._test_message_handler(handler, message)
if not process_update: continue
for i in signature(handler['function']).parameters: