Skip to content

Commit 2fd98a1

Browse files
committed
fix logging of updated sys-prefix
1 parent 66f382e commit 2fd98a1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/PythonLanguage.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,8 @@ private void ensureHomeInOptions(Env env) {
173173

174174
if (home != null) {
175175
if (sysPrefix.isEmpty()) {
176-
env.getOptions().set(PythonOptions.SysPrefix, home.getAbsoluteFile().getPath());
176+
sysPrefix = home.getAbsoluteFile().getPath();
177+
env.getOptions().set(PythonOptions.SysPrefix, sysPrefix);
177178
}
178179

179180
if (coreHome.isEmpty()) {

0 commit comments

Comments
 (0)