From 444a1df74086d6ad7a9da4675d6ada2878a76d6b Mon Sep 17 00:00:00 2001 From: Emmanuel Ferdman Date: Fri, 25 Apr 2025 00:30:08 -0700 Subject: [PATCH] Resolve daemon warnings for threading methods Signed-off-by: Emmanuel Ferdman --- whisper_live/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/whisper_live/client.py b/whisper_live/client.py index 4fc9281..dd41323 100644 --- a/whisper_live/client.py +++ b/whisper_live/client.py @@ -94,7 +94,7 @@ class Client: # start websocket client in a thread self.ws_thread = threading.Thread(target=self.client_socket.run_forever) - self.ws_thread.setDaemon(True) + self.ws_thread.daemon = True self.ws_thread.start() self.transcript = []