Update GeneralUtils.java

This commit is contained in:
Ludy87 2025-07-19 18:14:08 +02:00
parent 615eeabbb1
commit 71594fee53
No known key found for this signature in database
GPG Key ID: 92696155E0220F94

View File

@ -463,12 +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 = Path scriptsDir = Paths.get(InstallationPathConfig.getScriptPath() + "python");
Paths.get(
InstallationPathConfig.getConfigPath()
+ "scripts"
+ File.separator
+ "python");
Files.createDirectories(scriptsDir); Files.createDirectories(scriptsDir);
Path scriptFile = scriptsDir.resolve(scriptName); Path scriptFile = scriptsDir.resolve(scriptName);