Run python scripts with the same sys.executable as Tautulli

This commit is contained in:
JonnyWong16 2020-07-06 11:32:16 -07:00
parent cc4ec53dac
commit a116c26c25
No known key found for this signature in database
GPG key ID: B1F1F9807184697A

View file

@ -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': ''