From b18bc3612775ca78c327fd267461a294575d7cc9 Mon Sep 17 00:00:00 2001 From: Daniel Garvey <34486624+dan-garvey@users.noreply.github.com> Date: Tue, 21 Feb 2023 20:10:36 -0600 Subject: [PATCH] force creation of workdir (#1070) --- shark/shark_downloader.py | 1 + 1 file changed, 1 insertion(+) diff --git a/shark/shark_downloader.py b/shark/shark_downloader.py index c1daf265..372a8934 100644 --- a/shark/shark_downloader.py +++ b/shark/shark_downloader.py @@ -99,6 +99,7 @@ else: print( f"shark_tank local cache is located at {WORKDIR} . You may change this by setting the --local_tank_cache= flag" ) +os.makedirs(WORKDIR, exist_ok=True) # Checks whether the directory and files exists.