We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents eca6ab5 + 93f0ec4 commit 1bae454Copy full SHA for 1bae454
CHANGELOG.md
@@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
[//]: # (Note: {ref}/{doc} roles are used for references to the documentation)
8
9
## Unreleased
10
+### Fixed
11
+- Fixed error if parent(s) of the cache directory do not exist.
12
13
### Changed
14
- Moved documentation from GitHub Pages to Read the Docs. This allows to more easily
src/cluster_utils/server/utils.py
@@ -287,7 +287,7 @@ def get_cache_directory() -> str:
287
cache_dir = os.path.join(home, ".cache", "cluster_utils")
288
289
if not os.path.exists(cache_dir):
290
- os.mkdir(cache_dir)
+ os.makedirs(cache_dir)
291
292
return cache_dir
293
0 commit comments