Fix: list zip AND wool files

This commit is contained in:
Laurent Clouet
2023-09-21 20:15:38 +02:00
parent b9b8b3fbaf
commit 0fe31bef57

View File

@@ -317,7 +317,7 @@ import lombok.Data;
try {
String extension = file.getName().substring(file.getName().lastIndexOf('.')).toLowerCase();
String name = file.getName().substring(0, file.getName().length() - 1 * extension.length());
if (extension.equals(".zip")) {
if (extension.equals(".zip") || extension.equals(".wool")) {
// check if the md5 of the file is ok
String md5_local = Utils.md5(file.getAbsolutePath());