swapped python version and platform in user agent

This commit is contained in:
Alan Hamlett 2013-07-24 10:31:28 -07:00
parent db473761f5
commit 0d1bc5af0d

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