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)
++++++++++++++++++

View file

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