* fix * cleanups! * fix * fix for #1552 pipeline not accepting non pdfs * fix for #1154 font not accepting numbers etc * Update User.java --------- Co-authored-by: a <a>
This commit is contained in:
@@ -126,13 +126,12 @@ public class AppConfig {
|
||||
}
|
||||
|
||||
@Bean(name = "directoryFilter")
|
||||
public Predicate<Path> processPDFOnlyFilter() {
|
||||
public Predicate<Path> processOnlyFiles() {
|
||||
return path -> {
|
||||
if (Files.isDirectory(path)) {
|
||||
return !path.toString().contains("processing");
|
||||
} else {
|
||||
String fileName = path.getFileName().toString();
|
||||
return fileName.endsWith(".pdf");
|
||||
return true;
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user