This commit is contained in:
Alan Hamlett 2015-10-06 03:59:42 -07:00
parent 94343e5b07
commit c90a4863e9
2 changed files with 9 additions and 3 deletions

View file

@ -3,6 +3,12 @@ History
------- -------
5.0.1 (2015-10-06)
++++++++++++++++++
- look for python in system PATH again
5.0.0 (2015-10-02) 5.0.0 (2015-10-02)
++++++++++++++++++ ++++++++++++++++++

View file

@ -7,7 +7,7 @@ Website: https://wakatime.com/
===========================================================""" ==========================================================="""
__version__ = '5.0.0' __version__ = '5.0.1'
import sublime import sublime
@ -220,7 +220,7 @@ def find_python_from_registry(location, reg=None):
def find_python_in_folder(folder): def find_python_in_folder(folder):
path = os.path.realpath('pythonw') path = 'pythonw'
if folder is not None: if folder is not None:
path = os.path.realpath(os.path.join(folder, 'pythonw')) path = os.path.realpath(os.path.join(folder, 'pythonw'))
try: try:
@ -228,7 +228,7 @@ def find_python_in_folder(folder):
return path return path
except: except:
pass pass
path = os.path.realpath('python') path = 'python'
if folder is not None: if folder is not None:
path = os.path.realpath(os.path.join(folder, 'python')) path = os.path.realpath(os.path.join(folder, 'python'))
try: try: