Select test script over configured script

This commit is contained in:
JonnyWong16 2016-11-08 11:32:14 -08:00
parent fd4a2bdb4d
commit 0c5fa37d8b

View file

@ -2307,7 +2307,7 @@ class SCRIPTS(Notifier):
if not script_args: if not script_args:
script_args = [] script_args = []
script = self.config.get('script', kwargs.get('script', '')) script = kwargs.get('script', self.config.get('script', ''))
# Don't try to run the script if the action does not have one # Don't try to run the script if the action does not have one
if action and not script: if action and not script: