parent
47e5bd653a
commit
3211d752c7
|
@ -162,6 +162,8 @@ def _run_hook(name, always, *args):
|
|||
results = []
|
||||
f_list = hooks.get(name, [])
|
||||
for p, f in f_list:
|
||||
if name == 'load_wallet':
|
||||
p.wallet = args[0] # For for p.is_enabled() below
|
||||
if always or p.is_enabled():
|
||||
try:
|
||||
r = f(*args)
|
||||
|
|
Loading…
Reference in New Issue