Browse Source
wizard hww: move devmgr.scan_devices() away from GUI thread
hard-fail-on-bad-server-string
SomberNight
5 years ago
No known key found for this signature in database
GPG Key ID: B33B5F232C6271E9
1 changed files with
2 additions and
1 deletions
-
electrum/base_wizard.py
|
|
@ -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) |
|
|
|