mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-09-08 12:22:11 +00:00
Take a dict of the rule, not the rule list
This commit is contained in:
parent
804b732aab
commit
00dd207f60
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user