diff options
author | Evgeny Zinoviev <me@ch1p.io> | 2022-12-02 19:00:29 +0300 |
---|---|---|
committer | Evgeny Zinoviev <me@ch1p.io> | 2022-12-02 19:00:29 +0300 |
commit | 769a66f21d6d701dc72c849e98494a77adcf8024 (patch) | |
tree | 06e1de65dc1d8850668fd733f0471a734f9c685c /src/home/telegram | |
parent | 20a34d72f2cabe868cceeb16c53c51120d7348b2 (diff) |
telegram/bot framework: fix callbackhandler decorator again
Diffstat (limited to 'src/home/telegram')
-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 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): |