electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit 458b62f5de5c9223acbfedd4f1f5ceb042a01ef5
parent f30090a3215d1711eede3ba5b79b9db890ca06c0
Author: ThomasV <thomasv@electrum.org>
Date:   Fri, 11 Sep 2015 11:54:00 +0200

commands: add kwargs to wrapper

Diffstat:
Mlib/commands.py | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/commands.py b/lib/commands.py @@ -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