This commit is contained in:
croneter 2019-03-20 19:19:57 +01:00
parent 3b0a746af6
commit 9665f34ee6

View file

@ -51,7 +51,7 @@ def process_method_on_list(method_to_run, items):
pool.close() pool.close()
pool.join() pool.join()
else: else:
all_items = [method_to_run(items) for item in items] all_items = [method_to_run(item) for item in items]
all_items = filter(None, all_items) all_items = filter(None, all_items)
return all_items return all_items