Update GeneralUtils.java

This commit is contained in:
Ludy87 2025-07-19 17:52:48 +02:00
parent 3875ce1104
commit 21100001a1
No known key found for this signature in database
GPG Key ID: 92696155E0220F94

View File

@ -463,7 +463,7 @@ public class GeneralUtils {
"scriptName must be either 'png_to_webp.py' or 'split_photos.py'"); "scriptName must be either 'png_to_webp.py' or 'split_photos.py'");
} }
Path scriptsDir = Files.createTempDirectory("/config/scripts/python"); Path scriptsDir = Paths.get("/config/scripts/python");
Files.createDirectories(scriptsDir); Files.createDirectories(scriptsDir);
Path scriptFile = scriptsDir.resolve(scriptName); Path scriptFile = scriptsDir.resolve(scriptName);