Skip to content

Commit e438042

Browse files
author
skywind3000
committed
update PyStand.cpp
1 parent 469cae7 commit e438042

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

PyStand.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,11 @@ bool PyStand::CheckEnviron(const wchar_t *rtp)
158158
SetEnvironmentVariableW(L"PYSTAND", _pystand.c_str());
159159
SetEnvironmentVariableW(L"PYSTAND_HOME", _home.c_str());
160160
SetEnvironmentVariableW(L"PYSTAND_RUNTIME", _runtime.c_str());
161+
162+
// unnecessary to init PYSTAND_SCRIPT here.
163+
#if 0
161164
SetEnvironmentVariableW(L"PYSTAND_SCRIPT", _script.c_str());
165+
#endif
162166

163167
#if 0
164168
wprintf(L"%s - %s\n", _pystand.c_str(), path);

0 commit comments

Comments
 (0)