"tests/optimization_test.py" did not exist on "158e82e061c02fc2f1613adb7ac1d1cb6adae71c"
Commit afc24ea5 authored by Julien Chaumond's avatar Julien Chaumond
Browse files

In a parallel setup this could fail

parent 894812c6
......@@ -316,8 +316,7 @@ def get_from_cache(
if isinstance(cache_dir, Path):
cache_dir = str(cache_dir)
if not os.path.exists(cache_dir):
os.makedirs(cache_dir)
os.makedirs(cache_dir, exist_ok=True)
# Get eTag to add to filename, if it exists.
if url.startswith("s3://"):
......
Markdown is supported
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