tcommands: add kwargs to wrapper - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 458b62f5de5c9223acbfedd4f1f5ceb042a01ef5 DIR parent f30090a3215d1711eede3ba5b79b9db890ca06c0 HTML Author: ThomasV <thomasv@electrum.org> Date: Fri, 11 Sep 2015 11:54:00 +0200 commands: add kwargs to wrapper Diffstat: M lib/commands.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- DIR diff --git a/lib/commands.py b/lib/commands.py t@@ -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