Moved hishel cache directory into spoolmans data directory

This is to prevent permission issues
This commit is contained in:
Donkie
2024-05-21 11:25:08 +02:00
parent 0ab6e92d65
commit 620febc3ab
3 changed files with 12 additions and 10 deletions

View File

@@ -264,6 +264,11 @@ def get_backups_dir() -> Path:
return backups_dir
def get_cache_dir() -> Path:
"""Get the cache directory."""
return get_data_dir() / "cache"
def get_version() -> str:
"""Get the version of the package.