swapped python version and platform in user agent
This commit is contained in:
parent
2faa812557
commit
a71c4370b0
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue