mirror of
https://github.com/onionshare/onionshare.git
synced 2025-03-12 17:06:29 -04:00
Merge pull request #2020 from onionshare/mig/thread_setdaemon_deprecated
Use daemon = True boolean instead of setter setDaemon in CLI AutoStop thread
This commit is contained in:
commit
1b0cd5440a
@ -614,7 +614,7 @@ class AutoStopTimer(threading.Thread):
|
||||
|
||||
self.common = common
|
||||
|
||||
self.setDaemon(True)
|
||||
self.daemon = True
|
||||
self.time = time
|
||||
|
||||
def run(self):
|
||||
|
Loading…
x
Reference in New Issue
Block a user