swapped python version and platform in user agent

This commit is contained in:
Alan Hamlett 2013-07-24 10:32:26 -07:00
parent 459e822dda
commit f075d0c8f2
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@ def get_user_agent(plugin):
python_version = '%d.%d.%d.%s.%d' % (ver.major, ver.minor, ver.micro,
ver.releaselevel, ver.serial)
user_agent = 'wakatime/%s (%s) Python%s' % (__version__,
python_version, platform.platform())
platform.platform(), python_version)
if plugin:
user_agent = user_agent+' '+plugin
return user_agent