summaryrefslogtreecommitdiff
path: root/src/home/telegram/bot.py
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2022-12-02 19:00:29 +0300
committerEvgeny Zinoviev <me@ch1p.io>2022-12-02 19:00:29 +0300
commit769a66f21d6d701dc72c849e98494a77adcf8024 (patch)
tree06e1de65dc1d8850668fd733f0471a734f9c685c /src/home/telegram/bot.py
parent20a34d72f2cabe868cceeb16c53c51120d7348b2 (diff)
telegram/bot framework: fix callbackhandler decorator again
Diffstat (limited to 'src/home/telegram/bot.py')
-rw-r--r--src/home/telegram/bot.py2
1 files changed, 1 insertions, 1 deletions
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):