diff options
author | David Baker <dave@matrix.org> | 2015-01-28 14:27:01 +0000 |
---|---|---|
committer | David Baker <dave@matrix.org> | 2015-01-28 14:27:01 +0000 |
commit | d93ce29a86b79478bfb2011c9b8d3c8ec7d0bdd0 (patch) | |
tree | bb3767e67a0942e9a218390bf6a03e7da95f27ad /synapse/rest/client/v1/push_rule.py | |
parent | Brackets are nicer (diff) | |
download | synapse-d93ce29a86b79478bfb2011c9b8d3c8ec7d0bdd0.tar.xz |
Ah, the comma of doom.
Diffstat (limited to 'synapse/rest/client/v1/push_rule.py')
-rw-r--r-- | synapse/rest/client/v1/push_rule.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/client/v1/push_rule.py b/synapse/rest/client/v1/push_rule.py index b03d804d82..c6085370a4 100644 --- a/synapse/rest/client/v1/push_rule.py +++ b/synapse/rest/client/v1/push_rule.py @@ -101,7 +101,7 @@ class PushRuleRestServlet(ClientV1RestServlet): if pat.strip("*?[]") == pat: # no special glob characters so we assume the user means # 'contains this string' rather than 'is this string' - pat = "*%s*" % (pat) + pat = "*%s*" % (pat,) conditions = [{ 'kind': 'event_match', 'key': 'content.body', |