mirror of
https://github.com/onionshare/onionshare.git
synced 2025-07-22 14:20:56 -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
1 changed files with 1 additions and 1 deletions
|
@ -614,7 +614,7 @@ class AutoStopTimer(threading.Thread):
|
||||||
|
|
||||||
self.common = common
|
self.common = common
|
||||||
|
|
||||||
self.setDaemon(True)
|
self.daemon = True
|
||||||
self.time = time
|
self.time = time
|
||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue