URI: 
       tdevmgr: if only one device is plugged, use it - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit 323188b9631affec42088023a3c5b95fbda0f59e
   DIR parent 16ed48d52df28764fa52af2da53d8f67e9a13138
  HTML Author: ThomasV <thomasv@electrum.org>
       Date:   Wed, 31 Aug 2016 15:15:55 +0200
       
       devmgr: if only one device is plugged, use it
       
       Diffstat:
         M lib/plugins.py                      |       2 ++
       
       1 file changed, 2 insertions(+), 0 deletions(-)
       ---
   DIR diff --git a/lib/plugins.py b/lib/plugins.py
       t@@ -469,6 +469,8 @@ class DeviceMgr(ThreadJob, PrintError):
                    if not handler.yes_no_question(msg):
                        raise UserCancelled()
                    devices = None
       +        if len(infos) == 1:
       +            return infos[0]
                # select device by label
                for info in infos:
                    if info.label == keystore.label: