mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-26 23:13:25 +00:00
wizard hww: move devmgr.scan_devices() away from GUI thread
This commit is contained in:
parent
7a4acb05f2
commit
7c830cb221
1 changed files with 2 additions and 1 deletions
|
@ -280,7 +280,8 @@ class BaseWizard(Logger):
|
|||
|
||||
# scan devices
|
||||
try:
|
||||
scanned_devices = devmgr.scan_devices()
|
||||
scanned_devices = self.run_task_without_blocking_gui(task=devmgr.scan_devices,
|
||||
msg=_("Scanning devices..."))
|
||||
except BaseException as e:
|
||||
self.logger.info('error scanning devices: {}'.format(repr(e)))
|
||||
debug_msg = ' {}:\n {}'.format(_('Error scanning devices'), e)
|
||||
|
|
Loading…
Add table
Reference in a new issue