mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-08-20 13:23:24 -07:00
Remove support for .exe from script notifications
This commit is contained in:
parent
8f1360d7c2
commit
10b0726727
1 changed files with 11 additions and 11 deletions
|
@ -2963,17 +2963,17 @@ class SCRIPTS(Notifier):
|
||||||
def __init__(self, config=None):
|
def __init__(self, config=None):
|
||||||
super(SCRIPTS, self).__init__(config=config)
|
super(SCRIPTS, self).__init__(config=config)
|
||||||
|
|
||||||
self.script_exts = {'.bat': '',
|
self.script_exts = {
|
||||||
'.cmd': '',
|
'.bat': '',
|
||||||
'.exe': '',
|
'.cmd': '',
|
||||||
'.php': 'php',
|
'.php': 'php',
|
||||||
'.pl': 'perl',
|
'.pl': 'perl',
|
||||||
'.ps1': 'powershell -executionPolicy bypass -file',
|
'.ps1': 'powershell -executionPolicy bypass -file',
|
||||||
'.py': 'python' if plexpy.FROZEN else sys.executable,
|
'.py': 'python' if plexpy.FROZEN else sys.executable,
|
||||||
'.pyw': 'pythonw',
|
'.pyw': 'pythonw',
|
||||||
'.rb': 'ruby',
|
'.rb': 'ruby',
|
||||||
'.sh': ''
|
'.sh': ''
|
||||||
}
|
}
|
||||||
|
|
||||||
self.pythonpath_override = 'nopythonpath'
|
self.pythonpath_override = 'nopythonpath'
|
||||||
self.pythonpath = True
|
self.pythonpath = True
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue