From 769a66f21d6d701dc72c849e98494a77adcf8024 Mon Sep 17 00:00:00 2001 From: Evgeny Zinoviev Date: Fri, 2 Dec 2022 19:00:29 +0300 Subject: telegram/bot framework: fix callbackhandler decorator again --- src/home/telegram/bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/home/telegram/bot.py') diff --git a/src/home/telegram/bot.py b/src/home/telegram/bot.py index 355c99c..3c82587 100644 --- a/src/home/telegram/bot.py +++ b/src/home/telegram/bot.py @@ -149,7 +149,7 @@ def simplehandler(f: callable): return _handler -def callbackhandler(f, **kwargs): +def callbackhandler(*args, **kwargs): def inner(f): @wraps(f) def _handler(*args, **kwargs): -- cgit v1.2.3