Skip to content

Commit 1425627

Browse files
committed
fixed platformdirs.user_cache_dir ref
1 parent 47e9155 commit 1425627

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pydra/utils/general.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333

3434

3535
user_cache_root = Path(
36-
platformdirs.user_cache_root(
36+
platformdirs.user_cache_dir(
3737
appname="pydra",
3838
appauthor="nipype",
3939
version=__version__,

pydra/utils/hash.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ class PersistentCache:
8888
The locally unique key is hashed (cheaply) using hashlib cryptography and this
8989
"local hash" is use to name the entry of the (potentially expensive) hash of the
9090
object itself (e.g. the contents of a file). This entry is saved as a text file
91-
within a user-specific cache directory (see `platformdirs.user_cache_root`), with
91+
within a user-specific cache directory (see `platformdirs.user_cache_dir`), with
9292
the name of the file being the "local hash" of the key and the contents of the
9393
file being the "globally unique hash" of the object itself.
9494

0 commit comments

Comments
 (0)