Commit ec95ab3b authored by Marco Mariani's avatar Marco Mariani

pass executable by named parameter, handle multiple notification urls

parent 9bdb2611
......@@ -66,8 +66,11 @@ class Notify(GenericBaseRecipe):
'-l', kwargs['log'],
'--title', kwargs['title'],
'--feed', kwargs['feed_url'],
'--notification-url', kwargs['notification_url'],
executable]
'--notification-url']
commandline.extend(kwargs['notification_url'].split(' '))
commandline.extend(['--executable', executable])
return self.createPythonScript(wrapper,
'slapos.recipe.librecipe.execute.execute',
[str(i) for i in commandline])
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment