From 21100001a16714f302e68ec1707705c6f14cdfde Mon Sep 17 00:00:00 2001 From: Ludy87 Date: Sat, 19 Jul 2025 17:52:48 +0200 Subject: [PATCH] Update GeneralUtils.java --- .../main/java/stirling/software/common/util/GeneralUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);