Skip to content

Commit 3709885

Browse files
committed
Fix error in which zip file prevents reruning ingest build
1 parent 275b2ee commit 3709885

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

dspace/src/main/edu/georgetown/library/fileAnalyzer/importer/IngestFolderCreate.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -344,6 +344,7 @@ public File getCurrentIngestDir(File selectedFile){
344344
if (this.getProperty(P_AUTONAME) == YN.N) return defdir;
345345
File[] list = parent.listFiles(new FilenameFilter(){
346346
public boolean accept(File dir, String name) {
347+
if (!new File(dir, name).isDirectory()) return false;
347348
if (name.startsWith("ingest_")) return true;
348349
return false;
349350
}

0 commit comments

Comments
 (0)