Skip to content

Commit

Permalink
Fixed double dot when generating cache file name
Browse files Browse the repository at this point in the history
  • Loading branch information
npalacioescat committed Nov 15, 2024
1 parent 5394bed commit f21d5b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cache_manager/_item.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}'

Expand Down

0 comments on commit f21d5b4

Please sign in to comment.