mirror of
https://github.com/mitb-archive/filebot
synced 2024-12-24 00:38:52 -05:00
make sure to avoid "special" files that aren't folders but also not really files
This commit is contained in:
parent
8e7bf88b06
commit
68549e5e6e
@ -493,7 +493,7 @@ public final class FileUtilities {
|
||||
files.add(it);
|
||||
}
|
||||
listFiles(it, files, 0, maxDepth, addHidden, addFiles, addFolders);
|
||||
} else if (addFiles) {
|
||||
} else if (addFiles && it.isFile()) {
|
||||
files.add(it);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user