fix: add log for file copy #114
@ -251,8 +251,9 @@ public class Utils {
|
|||||||
}
|
}
|
||||||
|
|
||||||
File f = file.filePath().toFile();
|
File f = file.filePath().toFile();
|
||||||
|
System.out.println(f + " -> " + new File(dirFile, id + "." + detectedExtensions[0]));
|
||||||
//noinspection ResultOfMethodCallIgnored
|
//noinspection ResultOfMethodCallIgnored
|
||||||
f.renameTo(new File(dirFile, id + "." + detectedExtensions[0]));
|
System.out.println(f.renameTo(new File(dirFile, id + "." + detectedExtensions[0])));
|
||||||
return "ok";
|
return "ok";
|
||||||
})));
|
})));
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user