mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-10-01 11:49:51 -04:00
Make string format tuple an actual tuple
This commit is contained in:
parent
98e1080555
commit
d3e72b4d87
@ -102,7 +102,7 @@ class PushRuleRestServlet(RestServlet):
|
|||||||
'pattern': req_obj['pattern']
|
'pattern': req_obj['pattern']
|
||||||
}]
|
}]
|
||||||
else:
|
else:
|
||||||
raise InvalidRuleException("Unknown rule template: %s" % (rule_template))
|
raise InvalidRuleException("Unknown rule template: %s" % (rule_template,))
|
||||||
|
|
||||||
if device:
|
if device:
|
||||||
conditions.append({
|
conditions.append({
|
||||||
|
Loading…
Reference in New Issue
Block a user