python: remove API deprecated in Python 3.10

This commit is contained in:
link2xt
2021-12-18 17:47:08 +00:00
parent 91f02ad553
commit 61af0c9ac4
2 changed files with 3 additions and 3 deletions

View File

@@ -465,7 +465,7 @@ class BotProcess:
# the (unicode) lines available for readers through a queue.
self.stdout_queue = queue.Queue()
self.stdout_thread = t = threading.Thread(target=self._run_stdout_thread, name="bot-stdout-thread")
t.setDaemon(True)
t.daemon = True
t.start()
def _run_stdout_thread(self) -> None: