1
0
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:
Reinhard Pointner 2016-01-18 05:30:52 +00:00
parent 8e7bf88b06
commit 68549e5e6e

View File

@ -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);
}
}