small change to the user agent string

This commit is contained in:
shaun 2016-10-16 10:22:58 +11:00
parent 5d725c9f0b
commit 99bf460bf1
1 changed files with 1 additions and 5 deletions

View File

@ -39,9 +39,6 @@ class GoogleAnalytics():
def getUserAgentOS(self): def getUserAgentOS(self):
return platform.system()
'''
if xbmc.getCondVisibility('system.platform.osx'): if xbmc.getCondVisibility('system.platform.osx'):
return "OSX" return "OSX"
elif xbmc.getCondVisibility('system.platform.ios'): elif xbmc.getCondVisibility('system.platform.ios'):
@ -55,8 +52,7 @@ class GoogleAnalytics():
elif xbmc.getCondVisibility('system.platform.linux'): elif xbmc.getCondVisibility('system.platform.linux'):
return "Linux" return "Linux"
else: else:
return platform.system() return "Other"
'''
def formatException(self): def formatException(self):
exc_type, exc_obj, exc_tb = sys.exc_info() exc_type, exc_obj, exc_tb = sys.exc_info()