Skip to content

Commit

Permalink
PosixPath -> str
Browse files Browse the repository at this point in the history
  • Loading branch information
rgerkin committed Feb 23, 2022
1 parent 254a9a7 commit 1fb6bf8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sciunit/models/backends.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def clear_disk_cache(self) -> None:
path = Path(self.disk_cache_location)

if path.exists():
with shelve.open(path) as cache:
with shelve.open(str(path)) as cache:
cache.clear()

def get_memory_cache(self, key: str = None) -> dict:
Expand Down

0 comments on commit 1fb6bf8

Please sign in to comment.