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:
@@ -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());
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user