From d05e80e573ee265848dba8a720b557c71dffa199 Mon Sep 17 00:00:00 2001 From: JonnyWong16 Date: Sat, 17 Mar 2018 13:30:12 -0700 Subject: [PATCH] Make sure all exisiting environment variables are included for scripts --- plexpy/notifiers.py | 1 + 1 file changed, 1 insertion(+) diff --git a/plexpy/notifiers.py b/plexpy/notifiers.py index 05f01d79..2a045f2b 100644 --- a/plexpy/notifiers.py +++ b/plexpy/notifiers.py @@ -2960,6 +2960,7 @@ class SCRIPTS(Notifier): 'TAUTULLI_URL': helpers.get_plexpy_url(hostname='localhost'), 'TAUTULLI_APIKEY': plexpy.CONFIG.API_KEY } + env.update(os.environ) self.script_killed = False output = error = ''