1
0
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:
Ihor Polyakov 2016-09-28 18:41:36 +07:00 committed by FrankWang
parent 82cf5535dd
commit 1b0a872619

View File

@ -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