A small improvement for environments

see comment in 8d313e014f
This commit is contained in:
Dave Halter
2019-02-22 01:04:01 +01:00
parent 8d313e014f
commit 9bb8f335c9

View File

@@ -212,6 +212,7 @@ def _try_get_same_env():
# For unix it looks like Python is always in a bin folder.
checks = (
'bin/python%s.%s' % (sys.version_info[0], sys.version[1]),
'bin/python%s' % (sys.version_info[0]),
'bin/python',
)
for check in checks: