1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-12-23 16:28:51 -05:00

* fix NPE

This commit is contained in:
Reinhard Pointner 2014-10-21 10:26:42 +00:00
parent fcbff8b610
commit a80c8ac661

View File

@ -439,8 +439,8 @@ public class ReleaseInfo {
@Override
public boolean accept(File dir) {
if (dir.isDirectory()) {
for (String entry : dir.list()) {
if (entryPattern.matcher(entry).matches()) {
for (File f : getChildren(dir)) {
if (entryPattern.matcher(f.getName()).matches()) {
return true;
}
}