diff options
author | Mark Haines <mark.haines@matrix.org> | 2014-12-11 10:08:09 +0000 |
---|---|---|
committer | Mark Haines <mark.haines@matrix.org> | 2014-12-11 10:08:09 +0000 |
commit | b5eb9124f70a0f5196f8508f24e4566e8a5c0e90 (patch) | |
tree | 216a0c1f0bfc6ed0ad67e22884a5f7f8cd7b3484 /synapse/media/v1/base_resource.py | |
parent | Merge branch 'develop' into media_repository (diff) | |
download | synapse-b5eb9124f70a0f5196f8508f24e4566e8a5c0e90.tar.xz |
Make sure we pass a tuple to string '%' formatting
Diffstat (limited to 'synapse/media/v1/base_resource.py')
-rw-r--r-- | synapse/media/v1/base_resource.py | 4 |
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, ) |