From cb76db96d1ee049df681d875bdff068ea51e8fd5 Mon Sep 17 00:00:00 2001 From: Akash Dhruv Date: Wed, 9 Oct 2024 23:01:49 -0500 Subject: [PATCH] bug fix --- figaro/lib/_upload.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/figaro/lib/_upload.py b/figaro/lib/_upload.py index 8cd1203..571dc13 100644 --- a/figaro/lib/_upload.py +++ b/figaro/lib/_upload.py @@ -97,7 +97,7 @@ def fileupload_from_list(client, config, filemap, foldermap, filelist): num_procs = min(cpu_avail, len(filelist)) - if num_procs == 1: + if num_procs in [0,1]: [ fileupload_from_path( dill.dumps(client), config, filemap, foldermap, file_path