mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-09-02 18:25:21 +00:00
Install wizard: error out when no devices found
Fixes 1668
This commit is contained in:
parent
828320c1af
commit
297e89db5c
1 changed files with 3 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue