inverter_bot: fix callbackhandler decorator
This commit is contained in:
parent
1707650e96
commit
21cb597244
@ -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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user