better looking user agent string

This commit is contained in:
Alan Hamlett 2013-07-07 16:35:17 -07:00
parent 930fa3447a
commit c2124ceb8c

View file

@ -117,7 +117,7 @@ def get_api_key(configFile):
def get_user_agent(plugin): def get_user_agent(plugin):
user_agent = 'wakatime/%s %s' % (__version__, platform.platform()) user_agent = 'wakatime/%s (%s)' % (__version__, platform.platform())
if plugin: if plugin:
user_agent = user_agent+' '+plugin user_agent = user_agent+' '+plugin
return user_agent return user_agent