idf_tools.py: fix typo in __PYVENV_LAUNCHER__ env variable name

Fixes the workaround added in 9279b72a6.
This commit is contained in:
Ivan Grokhotkov 2020-01-21 10:48:24 +01:00
parent 52f49590b3
commit 9746dbe643

View File

@ -1356,7 +1356,7 @@ def main(argv):
# On macOS, unset __PYVENV_LAUNCHER__ variable if it is set.
# Otherwise sys.executable keeps pointing to the system Python, even when a python binary from a virtualenv is invoked.
# See https://bugs.python.org/issue22490#msg283859.
os.environ.pop('__PYVENV_LAUNCER__', None)
os.environ.pop('__PYVENV_LAUNCHER__', None)
if sys.version_info.major == 2:
try: