Make sure all exisiting environment variables are included for scripts

This commit is contained in:
JonnyWong16 2018-03-17 13:30:12 -07:00
parent 522684b2ab
commit d05e80e573

View file

@ -2960,6 +2960,7 @@ class SCRIPTS(Notifier):
'TAUTULLI_URL': helpers.get_plexpy_url(hostname='localhost'), 'TAUTULLI_URL': helpers.get_plexpy_url(hostname='localhost'),
'TAUTULLI_APIKEY': plexpy.CONFIG.API_KEY 'TAUTULLI_APIKEY': plexpy.CONFIG.API_KEY
} }
env.update(os.environ)
self.script_killed = False self.script_killed = False
output = error = '' output = error = ''