mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-16 02:02:58 -07:00
Trim analytic event platform version for macOS
This commit is contained in:
parent
8664570a78
commit
93081e3f6d
1 changed files with 1 additions and 1 deletions
|
@ -2859,7 +2859,7 @@ def analytics_event(name, **kwargs):
|
|||
event.set_event_param('branch', CONFIG.GIT_BRANCH)
|
||||
event.set_event_param('platform', common.PLATFORM)
|
||||
event.set_event_param('platformRelease', common.PLATFORM_RELEASE)
|
||||
event.set_event_param('platformVersion', common.PLATFORM_VERSION)
|
||||
event.set_event_param('platformVersion', common.PLATFORM_VERSION.split(';', 1)[0] if common.PLATFORM == 'Darwin' else common.PLATFORM_VERSION)
|
||||
event.set_event_param('linuxDistro', common.PLATFORM_LINUX_DISTRO)
|
||||
event.set_event_param('pythonVersion', common.PYTHON_VERSION)
|
||||
event.set_event_param('language', SYS_LANGUAGE)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue