Skip to content

Commit cbbb1bf

Browse files
fix: mkdir local filestore
Signed-off-by: thiswillbeyourgithub <[email protected]>
1 parent ab34e27 commit cbbb1bf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

wdoc/utils/customs/compressed_embeddings_cache.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ def __init__(
5656
*args: All other args are ignored
5757
**kwargs: Ignored too
5858
"""
59+
Path(database_path).parent.mkdir(exist_ok=True, parents=True)
5960
self.pdi = PersistDict(
6061
database_path=database_path,
6162
expiration_days=expiration_days,

0 commit comments

Comments
 (0)