URI: 
       tfix is_available method of btchip plugin - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit 337a20b815ac64c8335c84ad9cf7eac3ac62eeac
   DIR parent cbeb8abe4a7c5aed83b9f77755b4ee65006a4b67
  HTML Author: ThomasV <thomasv@gitorious>
       Date:   Sun, 31 Aug 2014 12:51:47 +0200
       
       fix is_available method of btchip plugin
       
       Diffstat:
         M plugins/btchipwallet.py             |      11 +++++------
       
       1 file changed, 5 insertions(+), 6 deletions(-)
       ---
   DIR diff --git a/plugins/btchipwallet.py b/plugins/btchipwallet.py
       t@@ -54,12 +54,11 @@ class Plugin(BasePlugin):
                return BTCHIP
        
            def is_available(self):
       -        #if self.wallet is None:
       -        #    return self._is_available
       -        #if self.wallet.storage.get('wallet_type') == 'btchip':
       -        #    return True
       -        #return False
       -        return self._is_available
       +        if self.wallet is None:
       +            return self._is_available
       +        if self.wallet.storage.get('wallet_type') == 'btchip':
       +            return True
       +        return False
        
            def set_enabled(self, enabled):
                self.wallet.storage.put('use_' + self.name, enabled)