mirror of
https://github.com/wakatime/sublime-wakatime.git
synced 2023-08-10 21:13:02 +03:00
correctly find python binary in non-Windows environments
This commit is contained in:
parent
a523b3aa4d
commit
8f7837269a
@ -111,10 +111,9 @@ def python_binary():
|
|||||||
|
|
||||||
# look for python in PATH and common install locations
|
# look for python in PATH and common install locations
|
||||||
paths = [
|
paths = [
|
||||||
"pythonw",
|
'/',
|
||||||
"python",
|
'/usr/local/bin/',
|
||||||
"/usr/local/bin/python",
|
'/usr/bin/',
|
||||||
"/usr/bin/python",
|
|
||||||
]
|
]
|
||||||
for path in paths:
|
for path in paths:
|
||||||
path = find_python_in_folder(path)
|
path = find_python_in_folder(path)
|
||||||
|
Loading…
Reference in New Issue
Block a user