1
0

python 3.10: fix some deprecation warnings and compat with 3.10

This commit is contained in:
SomberNight
2021-11-09 01:02:57 +01:00
parent ed0dd6eb22
commit 88a1c1a618
9 changed files with 18 additions and 18 deletions

View File

@@ -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'