mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2025-06-21 21:14:23 -04:00
clean up coding style a bit
This commit is contained in:
parent
8b8beba194
commit
3c7857e49b
8 changed files with 26 additions and 26 deletions
|
@ -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]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue