tInstall wizard: error out when no devices found - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 297e89db5ca356e416920756208656f5da9580d8 DIR parent 828320c1af4c4b1d14011c3ff2f30e96845dd956 HTML Author: Neil Booth <kyuupichan@gmail.com> Date: Sat, 6 Feb 2016 15:08:56 +0900 Install wizard: error out when no devices found Fixes 1668 Diffstat: M plugins/trezor/plugin.py | 3 +++ 1 file changed, 3 insertions(+), 0 deletions(-) --- DIR diff --git a/plugins/trezor/plugin.py b/plugins/trezor/plugin.py t@@ -220,6 +220,9 @@ class TrezorCompatiblePlugin(HW_PluginBase): process. Then create the wallet accounts.''' devmgr = self.device_manager() device_info = devmgr.select_device(wallet, self) + if not device_info: + wallet.handler.show_error(_("No devices found")) + raise RuntimeError("No devices found") devmgr.pair_wallet(wallet, device_info.device.id_) if device_info.initialized: task = partial(wallet.create_hd_account, None)