Commit 81eee3aa authored by Martin Matějek's avatar Martin Matějek

Fix unnecessary yaml rendering

parent 60737068
......@@ -54,9 +54,8 @@ class NotificationSkeleton:
actions = {}
parsed = yaml.safe_load(self.jinja_plugin_template.render())
for a in self.actions:
parsed = yaml.safe_load(self.jinja_plugin_template.render())
for pa in parsed['actions']:
if a == pa['name']:
actions[a] = pa['title']
......
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