Merge branch 'fix/wool-vs-zip' into 'master'

Fix: list zip AND wool files

See merge request sheepitrenderfarm/client!244
This commit is contained in:
Sheepit Renderfarm
2023-09-21 18:22:03 +00:00

View File

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