summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2022-11-18 04:27:58 +0300
committerEvgeny Zinoviev <me@ch1p.io>2022-11-18 04:27:58 +0300
commit21cb597244ab138ae69d897b301c39f8774f898d (patch)
tree74e2b7d447e9eac69147a9141eb49481f26ad844
parent1707650e96248d5636a09a523f6409896a92c802 (diff)
inverter_bot: fix callbackhandler decorator
-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):