summary refs log tree commit diff
path: root/synapse/media/v1/base_resource.py
diff options
context:
space:
mode:
authorMark Haines <mark.haines@matrix.org>2015-01-06 19:48:53 +0000
committerMark Haines <mark.haines@matrix.org>2015-01-06 19:48:53 +0000
commit5cf45c43190321b3ee6df4198df815da29dac90f (patch)
tree9841d49b0964de4046c0835ddcc976a25c2c8137 /synapse/media/v1/base_resource.py
parentUse time.time() instead of time.clock() (diff)
parentMerge branch 'hotfixes-v0.6.0a' (diff)
downloadsynapse-5cf45c43190321b3ee6df4198df815da29dac90f.tar.xz
Merge branch 'master' into develop
Diffstat (limited to 'synapse/media/v1/base_resource.py')
-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 d2e5c947d1..688e7376ad 100644
--- a/synapse/media/v1/base_resource.py
+++ b/synapse/media/v1/base_resource.py
@@ -139,6 +139,7 @@ class BaseMediaResource(Resource):
             @download.addBoth
             def callback(media_info):
                 del self.downloads[key]
+                return media_info
         return download
 
     @defer.inlineCallbacks