This commit is contained in:
Alan Hamlett 2015-03-09 15:25:40 -07:00
parent 440e33b8b7
commit d16d1ca747
2 changed files with 15 additions and 5 deletions

View file

@ -3,6 +3,16 @@ History
------- -------
3.0.8 (2015-03-09)
++++++++++++++++++
- upgrade wakatime cli to v4.0.4
- use requests library instead of urllib2, so api SSL cert is verified
- new --notfile argument to support logging time without a real file
- new --proxy argument for https proxy support
- new options for excluding and including directories
3.0.7 (2015-02-05) 3.0.7 (2015-02-05)
++++++++++++++++++ ++++++++++++++++++

View file

@ -6,7 +6,7 @@ License: BSD, see LICENSE for more details.
Website: https://wakatime.com/ Website: https://wakatime.com/
===========================================================""" ==========================================================="""
__version__ = '3.0.7' __version__ = '3.0.8'
import sublime import sublime
import sublime_plugin import sublime_plugin
@ -210,7 +210,7 @@ class SendActionThread(threading.Thread):
if self.debug: if self.debug:
cmd.append('--verbose') cmd.append('--verbose')
if HAS_SSL: if HAS_SSL:
#if self.debug: if self.debug:
print('[WakaTime] %s' % ' '.join(cmd)) print('[WakaTime] %s' % ' '.join(cmd))
code = wakatime.main(cmd) code = wakatime.main(cmd)
if code != 0: if code != 0:
@ -219,7 +219,7 @@ class SendActionThread(threading.Thread):
python = python_binary() python = python_binary()
if python: if python:
cmd.insert(0, python) cmd.insert(0, python)
#if self.debug: if self.debug:
print('[WakaTime] %s %s' % (python, ' '.join(cmd))) print('[WakaTime] %s %s' % (python, ' '.join(cmd)))
if platform.system() == 'Windows': if platform.system() == 'Windows':
Popen(cmd, shell=False) Popen(cmd, shell=False)