mirror of
https://github.com/wakatime/sublime-wakatime.git
synced 2023-08-10 21:13:02 +03:00
v3.0.8
This commit is contained in:
parent
440e33b8b7
commit
d16d1ca747
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 New Issue
Block a user