Skip to content

Commit a835d0f

Browse files
committed
Make offline cache dir in configuration
1 parent fd5a224 commit a835d0f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

simvue/config/user.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,7 @@ def fetch(
200200
_default_dir = _config_dict["offline"].get(
201201
"cache", DEFAULT_OFFLINE_DIRECTORY
202202
)
203+
pathlib.Path(_default_dir).mkdir(parents=True, exist_ok=True)
203204

204205
_config_dict["offline"]["cache"] = _default_dir
205206

0 commit comments

Comments
 (0)