mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-31 03:50:11 -07:00
Fix splitting of script arguments
This commit is contained in:
parent
3513f7fe2c
commit
0df1bd137d
3 changed files with 39 additions and 21 deletions
|
@ -2380,14 +2380,11 @@ class SCRIPTS(Notifier):
|
|||
logger.error(u"PlexPy Notifiers :: No script folder specified.")
|
||||
return
|
||||
|
||||
script_args = subject or None
|
||||
script_args = kwargs.get('script_args', [])
|
||||
|
||||
logger.debug(u"PlexPy Notifiers :: Trying to run notify script, action: %s, arguments: %s"
|
||||
% (action, script_args))
|
||||
|
||||
if not script_args:
|
||||
script_args = []
|
||||
|
||||
script = kwargs.get('script', self.config.get('script', ''))
|
||||
|
||||
# Don't try to run the script if the action does not have one
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue