commit 397f07ca823a54351a3dd83692379fced9383c7b
parent 117c5631824fa588dec5d01798939582eec1bc66
Author: ThomasV <thomasv@gitorious>
Date: Wed, 10 Sep 2014 23:04:51 +0200
fix plugin initialization with load_wallet
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/plugins.py b/lib/plugins.py
@@ -43,7 +43,7 @@ def run_hook(name, *args):
results = []
f_list = hooks.get(name,[])
for p, f in f_list:
- if not p.is_enabled():
+ if name != 'load_wallet' and not p.is_enabled():
continue
try:
r = f(*args)