From 397f07ca823a54351a3dd83692379fced9383c7b Mon Sep 17 00:00:00 2001 From: ThomasV Date: Wed, 10 Sep 2014 23:04:51 +0200 Subject: [PATCH] fix plugin initialization with load_wallet --- lib/plugins.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/plugins.py b/lib/plugins.py index ded8867a1..55b7a227f 100644 --- 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)