1
0
mirror of https://github.com/gsi-upm/senpy synced 2025-08-23 18:12:20 +00:00

Fix bug in py3.5

This commit is contained in:
J. Fernando Sánchez
2018-10-30 15:21:03 +01:00
parent c939b095de
commit a82e4ed440
3 changed files with 14 additions and 9 deletions

View File

@@ -11,7 +11,7 @@ class Async(AnalysisPlugin):
'''An example of an asynchronous module'''
author = '@balkian'
version = '0.2'
async = True
sync = False
def _do_async(self, num_processes):
pool = multiprocessing.Pool(processes=num_processes)