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

@@ -214,8 +214,8 @@ class Plugin(BasePlugin):
self.billing_info = None
self.is_billing = False
def get_wallet_type(self):
return ('twofactor', '2fa', _("Wallet with two-factor authentication"), Wallet_2fa)
def constructor(self, s):
return Wallet_2fa(s)
def is_available(self):
if not self.wallet: