mirror of
https://github.com/Kozea/Radicale.git
synced 2025-09-15 20:36:55 +00:00
make flake8 happy
This commit is contained in:
parent
edd6d0a513
commit
24f5f9b98e
5 changed files with 9 additions and 15 deletions
|
@ -85,7 +85,7 @@ class StorageBase(storage.BaseStorage):
|
|||
return os.path.join(self._filesystem_folder, "collection-root")
|
||||
|
||||
def _get_collection_cache_folder(self, path, folder, subfolder) -> str:
|
||||
if self._use_cache_subfolder_for_item == True and subfolder == "item":
|
||||
if (self._use_cache_subfolder_for_item is True) and (subfolder == "item"):
|
||||
path = path.replace(os.path.join(self._filesystem_folder, "collection-root"), os.path.join(self._filesystem_folder, "collection-cache"))
|
||||
return os.path.join(path, folder, subfolder)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue