Skip to content
Snippets Groups Projects
Commit 1497e506 authored by Erik Johnston's avatar Erik Johnston
Browse files

Merge branch 'develop' of github.com:matrix-org/synapse into erikj-perf

parents dfa05f0c 5cf45c43
No related branches found
No related tags found
No related merge requests found
...@@ -234,7 +234,7 @@ def setup(): ...@@ -234,7 +234,7 @@ def setup():
except UpgradeDatabaseException: except UpgradeDatabaseException:
sys.stderr.write( sys.stderr.write(
"\nFailed to upgrade database.\n" "\nFailed to upgrade database.\n"
"Have you followed any instructions in UPGRADES.rst?\n" "Have you checked for version specific instructions in UPGRADES.rst?\n"
) )
sys.exit(1) sys.exit(1)
......
...@@ -139,6 +139,7 @@ class BaseMediaResource(Resource): ...@@ -139,6 +139,7 @@ class BaseMediaResource(Resource):
@download.addBoth @download.addBoth
def callback(media_info): def callback(media_info):
del self.downloads[key] del self.downloads[key]
return media_info
return download return download
@defer.inlineCallbacks @defer.inlineCallbacks
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment