Skip to content
Snippets Groups Projects
Commit d6a0c2ef authored by Thomas  MUSSET's avatar Thomas MUSSET
Browse files

Removed double escaped charaters

parent 7fc9893b
No related branches found
No related tags found
No related merge requests found
...@@ -121,7 +121,7 @@ public class PythonUtils { ...@@ -121,7 +121,7 @@ public class PythonUtils {
*/ */
public String setSitePackagesDirectory() { public String setSitePackagesDirectory() {
String terminalLine; String terminalLine;
String[] command = new String[]{JepPreferences.getInstance().getPythonExecPath(), "-c", "import sys; print([p for p in sys.path if p.endswith(\\\"site-packages\\\")])"}; String[] command = new String[]{JepPreferences.getInstance().getPythonExecPath(), "-c", "import sys; print([p for p in sys.path if p.endswith(\"site-packages\")])"};
String sitePackagesPath = ""; String sitePackagesPath = "";
try { try {
...@@ -136,7 +136,6 @@ public class PythonUtils { ...@@ -136,7 +136,6 @@ public class PythonUtils {
String[] spList = terminalLine.replaceAll("[\\[\\]' ]", "").split(","); String[] spList = terminalLine.replaceAll("[\\[\\]' ]", "").split(",");
for (String spPath : spList) { for (String spPath : spList) {
System.out.println(spPath);
if (spPath.contains("site-packages")) { if (spPath.contains("site-packages")) {
sitePackagesPath = spPath; sitePackagesPath = spPath;
break; break;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment