From f21d5b403cb34e078bd177157a1690a9c2aa284c Mon Sep 17 00:00:00 2001 From: Nicolas Palacio Date: Fri, 15 Nov 2024 10:29:04 +0100 Subject: [PATCH] Fixed double dot when generating cache file name --- cache_manager/_item.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cache_manager/_item.py b/cache_manager/_item.py index 62e2230..007741d 100644 --- a/cache_manager/_item.py +++ b/cache_manager/_item.py @@ -264,7 +264,7 @@ def cache_fname(self) -> str: Combination of `version_id` (key + version) and the file extension. """ - ext = f'.{self.ext}' if self.ext else '' + ext = f'{self.ext}' if self.ext else '' return f'{self.version_id}{ext}'