diff --git a/app/common/src/main/java/stirling/software/common/util/GeneralUtils.java b/app/common/src/main/java/stirling/software/common/util/GeneralUtils.java index 77ffd5e4b..793e7b7e7 100644 --- a/app/common/src/main/java/stirling/software/common/util/GeneralUtils.java +++ b/app/common/src/main/java/stirling/software/common/util/GeneralUtils.java @@ -463,7 +463,7 @@ public class GeneralUtils { "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); Path scriptFile = scriptsDir.resolve(scriptName);