Browse Source

Need to set p.wallet unfortunately

Fixes #1553
283
Neil Booth 9 years ago
parent
commit
3211d752c7
  1. 2
      lib/plugins.py

2
lib/plugins.py

@ -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…
Cancel
Save