From 27c70656f790dfde94a784a909e7b5acc72be87b Mon Sep 17 00:00:00 2001 From: Michael Davidsaver Date: Sun, 31 Mar 2013 18:04:55 -0400 Subject: [PATCH] oops --- python/devsup/db.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/devsup/db.py b/python/devsup/db.py index f21f6c5..b2226de 100644 --- a/python/devsup/db.py +++ b/python/devsup/db.py @@ -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)