renamed class BGWorker to bgWorker
This commit is contained in:
parent
6facca4cb3
commit
e47d35769b
|
@ -9,7 +9,7 @@ import threading
|
||||||
import Queue
|
import Queue
|
||||||
import time
|
import time
|
||||||
|
|
||||||
class BGWorker(threading.Thread):
|
class bgWorker(threading.Thread):
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
threading.Thread.__init__(self)
|
threading.Thread.__init__(self)
|
||||||
self.q = Queue.Queue()
|
self.q = Queue.Queue()
|
||||||
|
@ -33,6 +33,6 @@ class BGWorker(threading.Thread):
|
||||||
finally:
|
finally:
|
||||||
time.sleep(0.05)
|
time.sleep(0.05)
|
||||||
|
|
||||||
bgworker = BGWorker()
|
bgworker = bgWorker()
|
||||||
bgworker.setDaemon(True)
|
bgworker.setDaemon(True)
|
||||||
bgworker.start()
|
bgworker.start()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user