summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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):