1
0

lazy plugin constructor

This commit is contained in:
ThomasV
2015-05-24 20:37:05 +02:00
parent 71046371ec
commit 778297697a
6 changed files with 25 additions and 19 deletions

View File

@@ -47,8 +47,8 @@ class Plugin(BasePlugin):
self._requires_settings = True
self.wallet = None
def get_wallet_type(self):
return ('hardware', 'trezor', _("Trezor wallet"), TrezorWallet)
def constructor(self, s):
return TrezorWallet(s)
def _init(self):
return TREZOR