mirror of
https://github.com/wakatime/sublime-wakatime.git
synced 2023-08-10 21:13:02 +03:00
swapped python version and platform in user agent
This commit is contained in:
parent
2faa812557
commit
a71c4370b0
@ -107,7 +107,7 @@ def get_user_agent(plugin):
|
|||||||
python_version = '%d.%d.%d.%s.%d' % (ver.major, ver.minor, ver.micro,
|
python_version = '%d.%d.%d.%s.%d' % (ver.major, ver.minor, ver.micro,
|
||||||
ver.releaselevel, ver.serial)
|
ver.releaselevel, ver.serial)
|
||||||
user_agent = 'wakatime/%s (%s) Python%s' % (__version__,
|
user_agent = 'wakatime/%s (%s) Python%s' % (__version__,
|
||||||
python_version, platform.platform())
|
platform.platform(), python_version)
|
||||||
if plugin:
|
if plugin:
|
||||||
user_agent = user_agent+' '+plugin
|
user_agent = user_agent+' '+plugin
|
||||||
return user_agent
|
return user_agent
|
||||||
|
Loading…
Reference in New Issue
Block a user