Skip to content

Commit 5f6d61e

Browse files
committed
bug fix
1 parent b00ff3c commit 5f6d61e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

winpython/portable/launchers_final/scripts/WinPythonIni.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ def _initialize_paths(self):
5252
"""we do what env.bat was doing"""
5353
self.winpy_base = Path(Path(__file__).parent.parent).resolve()
5454
self.home_dir = Path(self.winpy_base / 'settings')
55-
self.winpy_dir = Path(sys.executable).name
56-
self.python_exe = Path(sys.executable).parent
55+
self.winpy_dir = Path(sys.executable).parent
56+
self.python_exe = Path(sys.executable)
5757

5858
def get_file(self, file_path: Path, default_content=None) -> str:
5959
if not file_path.exists() and default_content:

0 commit comments

Comments
 (0)