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

FIX: server-side scripting copies .pycaosdb.ini from correct path.

parent c3a6d86a
No related branches found
No related tags found
No related merge requests found
...@@ -200,7 +200,8 @@ public class ServerSideScriptingCaller { ...@@ -200,7 +200,8 @@ public class ServerSideScriptingCaller {
throw new Exception("Creating the temporary home dir failed."); throw new Exception("Creating the temporary home dir failed.");
} }
try { try {
Files.copy(Paths.get("~/.pycaosdb.ini"), this.tmpHome.toPath()); Files.copy(
Paths.get(System.getProperty("user.home"), ".pycaosdb.ini"), this.tmpHome.toPath());
} catch (IOException e) { } catch (IOException e) {
System.out.println("No pycaosdb.info found"); System.out.println("No pycaosdb.info found");
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment