correct bug in FileQueue / ImageQueue with multiple patterns

This commit is contained in:
bugltd
2025-02-10 14:20:40 +01:00
parent 275254b836
commit a77f10f378
+1
View File
@@ -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