From db10da294f1b38bd2c3869308489614a1224ea30 Mon Sep 17 00:00:00 2001 From: Miguel Jacq Date: Thu, 6 Mar 2025 16:11:02 +1100 Subject: [PATCH] Use daemon = True boolean instead of setter setDaemon in CLI AutoStop thread --- cli/onionshare_cli/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/onionshare_cli/common.py b/cli/onionshare_cli/common.py index 724122b5..16f5b2fd 100644 --- a/cli/onionshare_cli/common.py +++ b/cli/onionshare_cli/common.py @@ -614,7 +614,7 @@ class AutoStopTimer(threading.Thread): self.common = common - self.setDaemon(True) + self.daemon = True self.time = time def run(self):