fixed priority issue that was preventing daemonization

This commit is contained in:
Remy
2011-05-23 22:36:55 -07:00
parent d88f097dab
commit 9d050b9edb
3 changed files with 3 additions and 7 deletions
+2 -3
View File
@@ -18,16 +18,15 @@ class threadtool(SimplePlugin):
self.thread = threading.Thread(target=self.run)
self.thread.start()
self.sched.start()
start.priority = 80
def stop(self):
self.running = False
print '''Shutting down'''
if self.thread:
self.thread.join()
self.thread = None
self.running = False
self.sched.shutdown()
stop.priority = 10
def run(self):
import updater