diff --git a/HISTORY.rst b/HISTORY.rst index a0057e4..5e61790 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -3,6 +3,12 @@ History ------- +5.0.1 (2015-10-06) +++++++++++++++++++ + +- look for python in system PATH again + + 5.0.0 (2015-10-02) ++++++++++++++++++ diff --git a/WakaTime.py b/WakaTime.py index 4837725..07b9a93 100644 --- a/WakaTime.py +++ b/WakaTime.py @@ -7,7 +7,7 @@ Website: https://wakatime.com/ ===========================================================""" -__version__ = '5.0.0' +__version__ = '5.0.1' import sublime @@ -220,7 +220,7 @@ def find_python_from_registry(location, reg=None): def find_python_in_folder(folder): - path = os.path.realpath('pythonw') + path = 'pythonw' if folder is not None: path = os.path.realpath(os.path.join(folder, 'pythonw')) try: @@ -228,7 +228,7 @@ def find_python_in_folder(folder): return path except: pass - path = os.path.realpath('python') + path = 'python' if folder is not None: path = os.path.realpath(os.path.join(folder, 'python')) try: