From a116c26c25456f821a18a1c9880a1808c0b4fb76 Mon Sep 17 00:00:00 2001 From: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com> Date: Mon, 6 Jul 2020 11:32:16 -0700 Subject: [PATCH] Run python scripts with the same sys.executable as Tautulli --- plexpy/notifiers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plexpy/notifiers.py b/plexpy/notifiers.py index 952c7e7e..d08673a7 100644 --- a/plexpy/notifiers.py +++ b/plexpy/notifiers.py @@ -2969,7 +2969,7 @@ class SCRIPTS(Notifier): '.php': 'php', '.pl': 'perl', '.ps1': 'powershell -executionPolicy bypass -file', - '.py': 'python', + '.py': 'python' if plexpy.FROZEN else sys.executable, '.pyw': 'pythonw', '.rb': 'ruby', '.sh': ''