summary refs log tree commit diff
path: root/synapse/rest/media
diff options
context:
space:
mode:
authorMark Haines <mark.haines@matrix.org>2015-02-10 17:58:36 +0000
committerMark Haines <mark.haines@matrix.org>2015-02-10 17:58:36 +0000
commit84a769cdb7321481954c386a040d7e7ff504d02b (patch)
treeb0514f19b1f44c01d2e88a188c1a764299185c0c /synapse/rest/media
parentLog all the exits from _attempt_new_transaction (diff)
downloadsynapse-84a769cdb7321481954c386a040d7e7ff504d02b.tar.xz
Fix code-style
Diffstat (limited to 'synapse/rest/media')
-rw-r--r--synapse/rest/media/v1/upload_resource.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/rest/media/v1/upload_resource.py b/synapse/rest/media/v1/upload_resource.py
index 6df52ca434..e5aba3af4c 100644
--- a/synapse/rest/media/v1/upload_resource.py
+++ b/synapse/rest/media/v1/upload_resource.py
@@ -96,8 +96,8 @@ class UploadResource(BaseMediaResource):
                     code=400,
                 )
 
-            #if headers.hasHeader("Content-Disposition"):
-            #    disposition = headers.getRawHeaders("Content-Disposition")[0]
+            # if headers.hasHeader("Content-Disposition"):
+            #     disposition = headers.getRawHeaders("Content-Disposition")[0]
             # TODO(markjh): parse content-dispostion
 
             content_uri = yield self.create_content(