From 0520df5963bd7165e6b5b7f25135d1e7494c8738 Mon Sep 17 00:00:00 2001 From: Marcel Paffrath Date: Tue, 31 May 2016 11:15:30 +0200 Subject: [PATCH] bugfix --- pylot/core/util/utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pylot/core/util/utils.py b/pylot/core/util/utils.py index a7167c43..55eb1d96 100644 --- a/pylot/core/util/utils.py +++ b/pylot/core/util/utils.py @@ -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): """