mirror of
https://github.com/wakatime/sublime-wakatime.git
synced 2023-08-10 21:13:02 +03:00
v5.0.1
This commit is contained in:
parent
94343e5b07
commit
c90a4863e9
@ -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)
|
||||||
++++++++++++++++++
|
++++++++++++++++++
|
||||||
|
|
||||||
|
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user