Skip to content

Commit

Permalink
A small improvement for environments
Browse files Browse the repository at this point in the history
see comment in 8d313e0
  • Loading branch information
davidhalter committed Feb 22, 2019
1 parent 8d313e0 commit 9bb8f33
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions jedi/api/environment.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 9bb8f33

Please sign in to comment.