URI: 
       tfilter wallet types - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit bc1ae4fe94586db065eab1f37675bf4ceb4fed9f
   DIR parent 2b10ccdcc47fe0f45c7e9c5baf52ff3ada78afb0
  HTML Author: ThomasV <thomasv@gitorious>
       Date:   Fri,  5 Sep 2014 16:41:51 +0200
       
       filter wallet types
       
       Diffstat:
         M gui/qt/installwizard.py             |       4 +++-
       
       1 file changed, 3 insertions(+), 1 deletion(-)
       ---
   DIR diff --git a/gui/qt/installwizard.py b/gui/qt/installwizard.py
       t@@ -346,10 +346,12 @@ class InstallWizard(QDialog):
                        if not wallet_type:
                            return
                    elif wallet_type == 'hardware':
       -                hardware_wallets = [('trezor',_("Trezor")), ('btchip',_("BTChip"))]
       +                hardware_wallets = map(lambda x:(x[1],x[2]), filter(lambda x:x[0]=='hardware', electrum.wallet.wallet_types))
                        wallet_type = self.choice(_("Hardware Wallet"), 'Select your hardware wallet', hardware_wallets)
                        if not wallet_type:
                            return
       +            elif wallet_type == 'twofactor':
       +                wallet_type = '2fa'
        
                    if action == 'create':
                        self.storage.put('wallet_type', wallet_type)