commit c2813c5b15f7c86cd2061a69c4a9c4dbb5aa2004 parent a7102bee786520dad505ad682d742c09b74013c1 Author: ThomasV <thomasv@gitorious> Date: Wed, 10 Sep 2014 23:15:55 +0200 load_wallet: we still want to test is_enabled Diffstat:
M | lib/plugins.py | | | 4 | +++- |
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/lib/plugins.py b/lib/plugins.py @@ -43,7 +43,9 @@ def run_hook(name, *args): results = [] f_list = hooks.get(name,[]) for p, f in f_list: - if name != 'load_wallet' and not p.is_enabled(): + if name == 'load_wallet': + p.wallet = args[0] + if not p.is_enabled(): continue try: r = f(*args)