We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b00ff3c commit 5f6d61eCopy full SHA for 5f6d61e
winpython/portable/launchers_final/scripts/WinPythonIni.py
@@ -52,8 +52,8 @@ def _initialize_paths(self):
52
"""we do what env.bat was doing"""
53
self.winpy_base = Path(Path(__file__).parent.parent).resolve()
54
self.home_dir = Path(self.winpy_base / 'settings')
55
- self.winpy_dir = Path(sys.executable).name
56
- self.python_exe = Path(sys.executable).parent
+ self.winpy_dir = Path(sys.executable).parent
+ self.python_exe = Path(sys.executable)
57
58
def get_file(self, file_path: Path, default_content=None) -> str:
59
if not file_path.exists() and default_content:
0 commit comments