mirror of
https://github.com/wakatime/sublime-wakatime.git
synced 2023-08-10 21:13:02 +03:00
upgraded wakatime cli package to 0.1.5
This commit is contained in:
parent
b944863cb7
commit
039c4bf0ac
@ -12,7 +12,7 @@
|
||||
from __future__ import print_function
|
||||
|
||||
__title__ = 'wakatime'
|
||||
__version__ = '0.1.4'
|
||||
__version__ = '0.1.5'
|
||||
__author__ = 'Alan Hamlett'
|
||||
__license__ = 'BSD'
|
||||
__copyright__ = 'Copyright 2013 Alan Hamlett'
|
||||
@ -103,7 +103,10 @@ def get_api_key(configFile):
|
||||
|
||||
|
||||
def get_user_agent(plugin):
|
||||
user_agent = 'wakatime/%s (%s)' % (__version__, platform.platform())
|
||||
python_version = '%d.%d.%d.%s.%d' % (v.major, v.minor, v.micro,
|
||||
v.releaselevel, v.serial)
|
||||
user_agent = 'wakatime/%s (%s) Python%s' % (__version__,
|
||||
python_version, platform.platform())
|
||||
if plugin:
|
||||
user_agent = user_agent+' '+plugin
|
||||
return user_agent
|
||||
|
Loading…
Reference in New Issue
Block a user