Add TAUTULLI_PYTHON_VERSION to script environment variables

* Period separated string (e.g. 2.7.17 or 3.8.2)
This commit is contained in:
JonnyWong16 2020-04-04 08:12:42 -07:00
parent 6e09e509bd
commit 1326ad8708
No known key found for this signature in database
GPG key ID: B1F1F9807184697A
2 changed files with 4 additions and 1 deletions

View file

@ -3060,7 +3060,8 @@ class SCRIPTS(Notifier):
'TAUTULLI_URL': helpers.get_plexpy_url(hostname='localhost'),
'TAUTULLI_PUBLIC_URL': plexpy.CONFIG.HTTP_BASE_URL + plexpy.HTTP_ROOT,
'TAUTULLI_APIKEY': plexpy.CONFIG.API_KEY,
'TAUTULLI_ENCODING': plexpy.SYS_ENCODING
'TAUTULLI_ENCODING': plexpy.SYS_ENCODING,
'TAUTULLI_PYTHON_VERSION': '.'.join(map(str, plexpy.PYTHON_VERSION))
})
if user_id: