From 1ea60e04d607c28e7b71086cd6c930617c053504 Mon Sep 17 00:00:00 2001 From: bpuchala Date: Mon, 27 May 2024 22:09:22 -0400 Subject: [PATCH] fix makedirs module --- materials_commons/cli/globus.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/materials_commons/cli/globus.py b/materials_commons/cli/globus.py index af13d92..f4db2e7 100644 --- a/materials_commons/cli/globus.py +++ b/materials_commons/cli/globus.py @@ -392,7 +392,7 @@ def download_v0(self, proj, paths, download, working_dir, recursive=False, no_co # create missing local parent directories local_dir = os.path.dirname(local_abspath) if not os.path.exists(local_dir): - os.path.makedirs(local_dir) + os.makedirs(local_dir) if not os.path.isdir(local_dir): if self.verbose: print(printpath + ": parent not a directory (skipping)")