mirror of
https://github.com/mitb-archive/filebot
synced 2024-12-23 16:28:51 -05:00
* fix NPE
This commit is contained in:
parent
fcbff8b610
commit
a80c8ac661
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user