- CachedPath bugfix

This commit is contained in:
Wim Pomp
2024-04-03 10:52:06 +02:00
parent 41658bea79
commit 6041f8c72e
2 changed files with 2 additions and 2 deletions

View File

@@ -132,7 +132,7 @@ class Shape(tuple):
return tuple(self[i] for i in 'yxczt') # type: ignore
class CachedPath(Path):
class CachedPath(type(Path())):
""" helper class for checking whether a file has changed, used by OmeCache """
def __init__(self, path: Path | str) -> None: