Skip to content

Commit

Permalink
Kept in the print line for which path is added to PYTHONPATH
Browse files Browse the repository at this point in the history
  • Loading branch information
bartvbl committed May 21, 2014
1 parent d85c7be commit 65298db
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Python-Powered-Pixels/src/core/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ private static void idle() {
private static String getJARPath() {
String path = Main.class.getProtectionDomain().getCodeSource().getLocation().getPath();
File jarFile = new File(path).getParentFile();
System.out.println("Adding to python path: "+jarFile.getAbsolutePath());
return jarFile.getAbsolutePath();
}
}

0 comments on commit 65298db

Please sign in to comment.