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 d7a1533..355c99c 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(**kwargs):
+def callbackhandler(f, **kwargs):
def inner(f):
@wraps(f)
def _handler(*args, **kwargs):