v3.0.8
This commit is contained in:
parent
440e33b8b7
commit
d16d1ca747
2 changed files with 15 additions and 5 deletions
10
HISTORY.rst
10
HISTORY.rst
|
@ -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)
|
||||
++++++++++++++++++
|
||||
|
||||
|
|
10
WakaTime.py
10
WakaTime.py
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue