Skip to content
Snippets Groups Projects
Commit b092702b authored by Amandine  PERRIN's avatar Amandine PERRIN
Browse files

Import mutiprocessing to get number of threads in computer

parent a536ffa4
No related branches found
No related tags found
No related merge requests found
......@@ -49,6 +49,7 @@ def cont_num(param):
def thread_num(param):
import multiprocessing
try:
param = int(param)
except Exception:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment