python 3.10: fix some deprecation warnings and compat with 3.10
This commit is contained in:
@@ -607,7 +607,7 @@ class Daemon(Logger):
|
||||
self._stopped_event.set()
|
||||
|
||||
def run_gui(self, config, plugins):
|
||||
threading.current_thread().setName('GUI')
|
||||
threading.current_thread().name = 'GUI'
|
||||
gui_name = config.get('gui', 'qt')
|
||||
if gui_name in ['lite', 'classic']:
|
||||
gui_name = 'qt'
|
||||
|
||||
Reference in New Issue
Block a user