tfix plugin initialization with load_wallet - electrum - Electrum Bitcoin wallet
HTML git clone https://git.parazyd.org/electrum
DIR Log
DIR Files
DIR Refs
DIR Submodules
---
DIR commit 397f07ca823a54351a3dd83692379fced9383c7b
DIR parent 117c5631824fa588dec5d01798939582eec1bc66
HTML Author: ThomasV <thomasv@gitorious>
Date: Wed, 10 Sep 2014 23:04:51 +0200
fix plugin initialization with load_wallet
Diffstat:
M lib/plugins.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git a/lib/plugins.py b/lib/plugins.py
t@@ -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)