From a77f10f37897033ab383df1d359fece0a91d4b6c Mon Sep 17 00:00:00 2001 From: bugltd <194549623+bugltd@users.noreply.github.com> Date: Mon, 10 Feb 2025 14:20:40 +0100 Subject: [PATCH] correct bug in FileQueue / ImageQueue with multiple patterns --- src/python/nodes/queue.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/python/nodes/queue.py b/src/python/nodes/queue.py index ba561eb..b9c0d34 100644 --- a/src/python/nodes/queue.py +++ b/src/python/nodes/queue.py @@ -123,6 +123,7 @@ class FileQueue: for p in patterns: # it = self.root.rglob(p.strip()) if recursive else self.root.glob(p.strip()) # self.files += [file for file in it if file.is_file()] + p = p.strip() # TODO: go back to Path().glob() with recurse_symlinks=True when Python version is > 3.13 # in the meantime, we use glob as it follows links by default