mirror of
https://github.com/eternnoir/pyTelegramBotAPI.git
synced 2023-08-10 21:12:57 +03:00
return statement added to callback_query_handler in decorator
This commit is contained in:
parent
82cf5535dd
commit
1b0a872619
@ -748,6 +748,7 @@ class TeleBot:
|
||||
def decorator(handler):
|
||||
handler_dict = self._build_handler_dict(handler, func=func, **kwargs)
|
||||
self.add_callback_query_handler(handler_dict)
|
||||
return handler
|
||||
|
||||
return decorator
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user