fix plugin initialization with load_wallet

This commit is contained in:
ThomasV 2014-09-10 23:04:51 +02:00
parent 117c563182
commit 397f07ca82

View file

@ -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)