mirror of
https://github.com/wakatime/sublime-wakatime.git
synced 2023-08-10 21:13:02 +03:00
Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
7b821179a6 | |||
3703a6374f |
@ -5,7 +5,7 @@ Maintainer: WakaTi.me <support@wakatime.com>
|
||||
Website: https://www.wakati.me/
|
||||
==========================================================="""
|
||||
|
||||
__version__ = '1.3.4'
|
||||
__version__ = '1.3.5'
|
||||
|
||||
import sublime
|
||||
import sublime_plugin
|
||||
@ -147,11 +147,12 @@ class SendActionThread(threading.Thread):
|
||||
if not self.api_key:
|
||||
print('missing api key')
|
||||
return
|
||||
ua = 'sublime/%d sublime-wakatime/%s' % (ST_VERSION, __version__)
|
||||
cmd = [
|
||||
API_CLIENT,
|
||||
'--file', self.targetFile,
|
||||
'--time', str('%f' % self.timestamp),
|
||||
'--plugin', 'sublime-wakatime/%s' % __version__,
|
||||
'--plugin', ua,
|
||||
'--key', str(bytes.decode(self.api_key.encode('utf8'))),
|
||||
]
|
||||
if self.isWrite:
|
||||
|
Reference in New Issue
Block a user