mirror of
https://github.com/Kozea/Radicale.git
synced 2025-08-01 18:18:31 +00:00
default for filesystem_cache_folder is filesystem_folder
This commit is contained in:
parent
b3d0c16407
commit
2bb2d6385b
4 changed files with 7 additions and 4 deletions
|
@ -98,7 +98,10 @@ class StorageBase(storage.BaseStorage):
|
|||
return os.path.join(self._filesystem_folder, "collection-root")
|
||||
|
||||
def _get_collection_cache_folder(self) -> str:
|
||||
return os.path.join(self._filesystem_cache_folder, "collection-cache")
|
||||
if self._filesystem_cache_folder:
|
||||
return os.path.join(self._filesystem_cache_folder, "collection-cache")
|
||||
else:
|
||||
return os.path.join(self._filesystem_folder, "collection-cache")
|
||||
|
||||
def _get_collection_cache_subfolder(self, path, folder, subfolder) -> str:
|
||||
if (self._use_cache_subfolder_for_item is True) and (subfolder == "item"):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue