From cfb8e2ce712dae9377667cff348b416f692b37fc Mon Sep 17 00:00:00 2001 From: Fabian Dill Date: Sun, 2 Aug 2020 00:34:23 +0200 Subject: [PATCH] Don't cache the subpath component --- Utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Utils.py b/Utils.py index ba0ba784..15660ba0 100644 --- a/Utils.py +++ b/Utils.py @@ -82,7 +82,7 @@ local_path.cached_path = None def output_path(path): if output_path.cached_path: return os.path.join(output_path.cached_path, path) - output_path.cached_path = local_path(os.path.join("output", path)) + output_path.cached_path = local_path("output") path = os.path.join(output_path.cached_path, path) os.makedirs(os.path.dirname(path), exist_ok=True) return path