URI: 
       twizard/hw: cap transport string - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit 74f6ac27af74b5e2a81bd98e3f883a946720fdef
   DIR parent ec5f406f4904c1b53bdb55584da760141c502cad
  HTML Author: SomberNight <somber.night@protonmail.com>
       Date:   Fri, 30 Nov 2018 20:45:54 +0100
       
       wizard/hw: cap transport string
       
       follow-up 32af83b7aede02f0b9bb3e8294ef2dc0481fb6de
       
       Diffstat:
         M electrum/base_wizard.py             |       4 +++-
       
       1 file changed, 3 insertions(+), 1 deletion(-)
       ---
   DIR diff --git a/electrum/base_wizard.py b/electrum/base_wizard.py
       t@@ -283,7 +283,9 @@ class BaseWizard(object):
                for name, info in devices:
                    state = _("initialized") if info.initialized else _("wiped")
                    label = info.label or _("An unnamed {}").format(name)
       -            descr = f"{label} [{name}, {state}, {info.device.transport_ui_string}]"
       +            try: transport_str = info.device.transport_ui_string[:20]
       +            except: transport_str = 'unknown transport'
       +            descr = f"{label} [{name}, {state}, {transport_str}]"
                    choices.append(((name, info), descr))
                msg = _('Select a device') + ':'
                self.choice_dialog(title=title, message=msg, choices=choices, run_next= lambda *args: self.on_device(*args, purpose=purpose))