Skip to content
Snippets Groups Projects
Commit d367d9ed authored by Daniel's avatar Daniel
Browse files

FIX: server-side scripting copies .pycaosdb.ini to correct location.

parent bc126722
No related branches found
No related tags found
No related merge requests found
...@@ -201,9 +201,9 @@ public class ServerSideScriptingCaller { ...@@ -201,9 +201,9 @@ public class ServerSideScriptingCaller {
} }
try { try {
Files.copy( Files.copy(
Paths.get("/", ".pycaosdb.ini"), this.tmpHome.toPath()); Paths.get("/", ".pycaosdb.ini"), (new File(this.tmpHome, ".pycaosdb.ini")).toPath());
} catch (IOException e) { } catch (IOException e) {
System.err.println("No pycaosdb.ini found at " + "/"); System.err.println("No .pycaosdb.ini found at " + "/");
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment