Browse Source

wizard hww: move devmgr.scan_devices() away from GUI thread

hard-fail-on-bad-server-string
SomberNight 5 years ago
parent
commit
7c830cb221
No known key found for this signature in database GPG Key ID: B33B5F232C6271E9
  1. 3
      electrum/base_wizard.py

3
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)

Loading…
Cancel
Save