diff options
Diffstat (limited to 'Lib/site.py')
| -rw-r--r-- | Lib/site.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/site.py b/Lib/site.py index a298f26..a0f98b3 100644 --- a/Lib/site.py +++ b/Lib/site.py @@ -499,8 +499,8 @@ def venv(known_paths): global PREFIXES, ENABLE_USER_SITE env = os.environ - if sys.platform == 'darwin' and '__PYTHONV_LAUNCHER__' in env: - executable = os.environ['__PYTHONV_LAUNCHER__'] + if sys.platform == 'darwin' and '__PYVENV_LAUNCHER__' in env: + executable = os.environ['__PYVENV_LAUNCHER__'] else: executable = sys.executable executable_dir, executable_name = os.path.split(executable) |
