|
|
@ -45,9 +45,9 @@ class Plugin(BasePlugin): |
|
|
|
def __init__(self, gui, name): |
|
|
|
BasePlugin.__init__(self, gui, name) |
|
|
|
self._is_available = self._init() |
|
|
|
self.wallet = None |
|
|
|
electrum.wallet.wallet_types.append(('hardware', 'btchip', _("BTChip wallet"), BTChipWallet)) |
|
|
|
|
|
|
|
self.wallet = None |
|
|
|
if self._is_available: |
|
|
|
electrum.wallet.wallet_types.append(('hardware', 'btchip', _("BTChip wallet"), BTChipWallet)) |
|
|
|
|
|
|
|
def _init(self): |
|
|
|
return BTCHIP |
|
|
|