Skip to content

Commit

Permalink
v5.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
alanhamlett committed Oct 6, 2015
1 parent 94343e5 commit c90a486
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@ History
-------


5.0.1 (2015-10-06)
++++++++++++++++++

- look for python in system PATH again


5.0.0 (2015-10-02)
++++++++++++++++++

Expand Down
6 changes: 3 additions & 3 deletions WakaTime.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
==========================================================="""


__version__ = '5.0.0'
__version__ = '5.0.1'


import sublime
Expand Down Expand Up @@ -220,15 +220,15 @@ 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:
Popen([path, '--version'])
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:
Expand Down

0 comments on commit c90a486

Please sign in to comment.