From d188af0ebf0ec5922b9a8218d04eb9eadb735d38 Mon Sep 17 00:00:00 2001 From: Robert Sachunsky <38561704+bertsky@users.noreply.github.com> Date: Fri, 15 Mar 2024 14:23:49 +0100 Subject: [PATCH] ocrdbrowser.workspace.list_all: disable path caching --- ocrdbrowser/_workspace.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ocrdbrowser/_workspace.py b/ocrdbrowser/_workspace.py index b9fd36b..3a7fcb6 100644 --- a/ocrdbrowser/_workspace.py +++ b/ocrdbrowser/_workspace.py @@ -10,7 +10,7 @@ def is_valid(workspace: str) -> bool: return (Path(workspace) / "mets.xml").exists() -@path_cache +# no way to update: @path_cache def list_all(path: Path) -> List[str]: # recursively enumerate METS file paths (excluding .backup subdirs) return [