mirror of
https://github.com/Frooodle/Stirling-PDF.git
synced 2025-09-08 17:51:20 +02:00
Update app/common/src/main/java/stirling/software/common/util/GeneralUtils.java
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
fcfab2a7e1
commit
50bd3bc759
@ -448,7 +448,7 @@ public class GeneralUtils {
|
|||||||
* path.
|
* path.
|
||||||
*/
|
*/
|
||||||
public static Path extractScript(String scriptName) throws IOException {
|
public static Path extractScript(String scriptName) throws IOException {
|
||||||
// 1. loade the script from classpath
|
// 1. load the script from classpath
|
||||||
ClassPathResource resource = new ClassPathResource("static/python/" + scriptName);
|
ClassPathResource resource = new ClassPathResource("static/python/" + scriptName);
|
||||||
|
|
||||||
// 2. create a temporary directory
|
// 2. create a temporary directory
|
||||||
|
Loading…
Reference in New Issue
Block a user