Commit de470fb6 authored by Antoine Catton's avatar Antoine Catton

Avoid pbs recipe to fail.

parent 28603c92
......@@ -180,7 +180,8 @@ class Recipe(GenericSlapRecipe, Notify, Callback):
#self.setConnectionDict(dict(feed_url=feed_url), entry['slave_reference'])
if 'on-notification' in entry:
path_list.append(self.createCallback(entry['on-notification'], wrapper))
path_list.append(self.createCallback(str(entry['on-notification']),
wrapper))
else:
cron_entry = os.path.join(self.options['cron-entries'], url_hash)
with open(cron_entry, 'w') as cron_entry_file:
......
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