This commit is contained in:
Michael Davidsaver
2013-03-31 18:04:55 -04:00
parent df3adc8595
commit 27c70656f7

View File

@ -81,7 +81,7 @@ class IOScanListThread(IOScanListBlock):
@classmethod
def getworker(cls):
with cls._worker_lock:
if cls._worker:
if cls._worker is not None:
return cls._worker
import hooks
T = Worker(max=cls.queuelength)