diff --git a/frontools/cache.py b/frontools/cache.py index 3b25d87..bec534d 100644 --- a/frontools/cache.py +++ b/frontools/cache.py @@ -100,6 +100,7 @@ class FileCache(Cache[ResourceType]): key_slug = _get_key_slug(key) cache_directory = self.cache_base / self._name file_path = cache_directory.joinpath(*key_slug.split("&")) + file_path = file_path.parent / (file_path.name + '_') file_directory = file_path.parent if not file_directory.is_dir():