URI: 
       tload_wallet: we still want to test is_enabled - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit c2813c5b15f7c86cd2061a69c4a9c4dbb5aa2004
   DIR parent a7102bee786520dad505ad682d742c09b74013c1
  HTML Author: ThomasV <thomasv@gitorious>
       Date:   Wed, 10 Sep 2014 23:15:55 +0200
       
       load_wallet: we still want to test is_enabled
       
       Diffstat:
         M lib/plugins.py                      |       4 +++-
       
       1 file changed, 3 insertions(+), 1 deletion(-)
       ---
   DIR diff --git a/lib/plugins.py b/lib/plugins.py
       t@@ -43,7 +43,9 @@ def run_hook(name, *args):
            results = []
            f_list = hooks.get(name,[])
            for p, f in f_list:
       -        if name != 'load_wallet' and not p.is_enabled():
       +        if name == 'load_wallet':
       +            p.wallet = args[0]
       +        if not p.is_enabled():
                    continue
                try:
                    r = f(*args)