@@ -16,7 +16,7 @@ def worker():
def init_workers(count=2):
for _ in range(count):
- threading.Thread(worker).start()
+ threading.Thread(target=worker).start()
class Pool:
def submit(job, callback):