Skip to content
Snippets Groups Projects
Commit 00dd207f authored by Mark Haines's avatar Mark Haines
Browse files

Take a dict of the rule, not the rule list

parent 804b732a
No related branches found
No related tags found
No related merge requests found
......@@ -76,7 +76,7 @@ class Pusher(object):
rules = []
for rawrule in rawrules:
rule = dict(rawrules)
rule = dict(rawrule)
rule['conditions'] = json.loads(rawrule['conditions'])
rule['actions'] = json.loads(rawrule['actions'])
rules.append(rule)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment