summary refs log tree commit diff
path: root/synapse/media/v1
diff options
context:
space:
mode:
authorMark Haines <mark.haines@matrix.org>2014-12-16 15:24:03 +0000
committerMark Haines <mark.haines@matrix.org>2014-12-16 15:24:03 +0000
commit3c7857e49b8dcad723d52174aba77c47453c0298 (patch)
tree96091f56e7fe5c91540a3390baa0eeb0d1e171c6 /synapse/media/v1
parentRemove annotate_event_with_state as nothing was using it. Update state tests ... (diff)
downloadsynapse-3c7857e49b8dcad723d52174aba77c47453c0298.tar.xz
clean up coding style a bit
Diffstat (limited to 'synapse/media/v1')
-rw-r--r--synapse/media/v1/base_resource.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/media/v1/base_resource.py b/synapse/media/v1/base_resource.py
index 14735ff375..2f5440ab64 100644
--- a/synapse/media/v1/base_resource.py
+++ b/synapse/media/v1/base_resource.py
@@ -135,6 +135,7 @@ class BaseMediaResource(Resource):
         if download is None:
             download = self._get_remote_media_impl(server_name, media_id)
             self.downloads[key] = download
+
             @download.addBoth
             def callback(media_info):
                 del self.downloads[key]