renamed class BGWorker to bgWorker

This commit is contained in:
miao.lin 2013-06-28 15:36:34 +08:00
parent 6facca4cb3
commit e47d35769b
1 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ import threading
import Queue
import time
class BGWorker(threading.Thread):
class bgWorker(threading.Thread):
def __init__(self):
threading.Thread.__init__(self)
self.q = Queue.Queue()
@ -33,6 +33,6 @@ class BGWorker(threading.Thread):
finally:
time.sleep(0.05)
bgworker = BGWorker()
bgworker = bgWorker()
bgworker.setDaemon(True)
bgworker.start()