"...git@developer.sourcefind.cn:chenpangpang/open-webui.git" did not exist on "69ff59604531a744a07c163953f61c19521a74f4"
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( ...@@ -316,8 +316,7 @@ def get_from_cache(
if isinstance(cache_dir, Path): if isinstance(cache_dir, Path):
cache_dir = str(cache_dir) cache_dir = str(cache_dir)
if not os.path.exists(cache_dir): os.makedirs(cache_dir, exist_ok=True)
os.makedirs(cache_dir)
# Get eTag to add to filename, if it exists. # Get eTag to add to filename, if it exists.
if url.startswith("s3://"): 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