0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-14 07:23:48 +01:00

Merge branch 'master' into develop

This commit is contained in:
Mark Haines 2015-01-06 19:48:53 +00:00
commit 5cf45c4319
2 changed files with 2 additions and 1 deletions

View file

@ -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)

View file

@ -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