summary refs log tree commit diff
path: root/synapse/media/v1
diff options
context:
space:
mode:
Diffstat (limited to 'synapse/media/v1')
-rw-r--r--synapse/media/v1/base_resource.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/media/v1/base_resource.py b/synapse/media/v1/base_resource.py
index 81f2456343..8c62ecd597 100644
--- a/synapse/media/v1/base_resource.py
+++ b/synapse/media/v1/base_resource.py
@@ -93,7 +93,7 @@ class BaseMediaResource(Resource):
         except:
             raise SynapseError(
                 400,
-                "Missing integer argument %r" % (arg_name),
+                "Missing integer argument %r" % (arg_name,),
                 Codes.UNKNOWN,
             )
 
@@ -107,7 +107,7 @@ class BaseMediaResource(Resource):
         except:
             raise SynapseError(
                 400,
-                "Missing string argument %r" % (arg_name),
+                "Missing string argument %r" % (arg_name,),
                 Codes.UNKNOWN,
             )