diff options
author | Evgeny Zinoviev <me@ch1p.io> | 2022-11-18 04:27:58 +0300 |
---|---|---|
committer | Evgeny Zinoviev <me@ch1p.io> | 2022-11-18 04:27:58 +0300 |
commit | 21cb597244ab138ae69d897b301c39f8774f898d (patch) | |
tree | 74e2b7d447e9eac69147a9141eb49481f26ad844 | |
parent | 1707650e96248d5636a09a523f6409896a92c802 (diff) |
inverter_bot: fix callbackhandler decorator
-rw-r--r-- | src/home/telegram/bot.py | 2 |
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): |