Name the device manager thread

This commit is contained in:
Kovid Goyal 2022-04-29 20:13:21 +05:30
parent aa66a5e67b
commit 89411a763e
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -171,7 +171,7 @@ class DeviceManager(Thread): # {{{
''' '''
:sleep_time: Time to sleep between device probes in secs :sleep_time: Time to sleep between device probes in secs
''' '''
Thread.__init__(self, daemon=True) Thread.__init__(self, name='DeviceManager', daemon=True)
# [Device driver, Showing in GUI, Ejected] # [Device driver, Showing in GUI, Ejected]
self.devices = list(device_plugins()) self.devices = list(device_plugins())
self.disabled_device_plugins = list(disabled_device_plugins()) self.disabled_device_plugins = list(disabled_device_plugins())