Commit 94d84da1 authored by Félix Hartmann's avatar Félix Hartmann
Browse files

[bugfix] In Py3, use queues from the 'multprocessing' module (instead

of homemade).
parent f5a6e593
......@@ -920,7 +920,7 @@ def ProcessImages(file_names, num_images, num_tiges, pas=0.3, seuil="auto",
# Lancement du traitement avec ou sans threads
ta = time.time()
if _windows:
if not python2 or python2 and _windows:
results = mp.Queue()
tasks = mp.JoinableQueue()
else:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment