mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-25 18:26:15 +00:00
looks like platform is throwing an exception on some systems so catch it
This commit is contained in:
parent
8669f41a2d
commit
5cc3847e47
2 changed files with 6 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<addon id="plugin.video.emby"
|
||||
name="Emby"
|
||||
version="2.3.10"
|
||||
version="2.3.11"
|
||||
provider-name="Emby.media">
|
||||
<requires>
|
||||
<import addon="xbmc.python" version="2.19.0"/>
|
||||
|
|
|
@ -165,8 +165,11 @@ class Service(object):
|
|||
|
||||
ga = GoogleAnalytics()
|
||||
ga.sendEventData("Application", "Startup", serverId)
|
||||
ga.sendEventData("Version", "OS", platform.platform())
|
||||
ga.sendEventData("Version", "Python", platform.python_version())
|
||||
try:
|
||||
ga.sendEventData("Version", "OS", platform.platform())
|
||||
ga.sendEventData("Version", "Python", platform.python_version())
|
||||
except Exception:
|
||||
pass
|
||||
|
||||
# Start up events
|
||||
self.warn_auth = True
|
||||
|
|
Loading…
Reference in a new issue