Fix tasks library

This commit is contained in:
Robert Miles 2019-06-24 04:30:14 +00:00
parent 98ab1c6559
commit 9ad776369f
1 changed files with 1 additions and 0 deletions

View File

@ -29,6 +29,7 @@ class TaskPool:
exit(0)
def run(self):
if self.thread.is_alive(): return # don't set up an already set-up thread
self.thread.daemon = True
self.thread.start()