mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-31 09:21:39 +00:00
commands: add kwargs to wrapper
This commit is contained in:
parent
f30090a321
commit
458b62f5de
1 changed files with 2 additions and 2 deletions
|
@ -66,8 +66,8 @@ def command(s):
|
|||
name = func.__name__
|
||||
known_commands[name] = Command(func, s)
|
||||
@wraps(func)
|
||||
def func_wrapper(*args):
|
||||
return func(*args)
|
||||
def func_wrapper(*args, **kwargs):
|
||||
return func(*args, **kwargs)
|
||||
return func_wrapper
|
||||
return decorator
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue