diff --git a/synapse/rest/client/v1/push_rule.py b/synapse/rest/client/v1/push_rule.py
index b03d804d8232c2de946b9ded49a44bbb6b767c87..c6085370a4659ea07938fb8fd11baa3ddca09f13 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',