bugfix
This commit is contained in:
1 parent
ae2fc73d89
commit
0520df5963
1 file changed
+2
-2
@@ -18,7 +18,6 @@ def _pickle_method(m):
|
||||
|
||||
|
||||
def worker(func, input, cores='max', async=False):
|
||||
return result
|
||||
import multiprocessing
|
||||
|
||||
if cores == 'max':
|
||||
@@ -30,7 +29,8 @@ def worker(func, input, cores='max', async=False):
|
||||
else:
|
||||
result = pool.map(func, input)
|
||||
pool.close()
|
||||
|
||||
return result
|
||||
|
||||
|
||||
def demeanTrace(trace, window):
|
||||
"""
|
||||
|
||||
Reference in new issue
Block a user