diff options
author | Erik Johnston <erik@matrix.org> | 2017-10-13 13:46:53 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2017-10-13 13:46:53 +0100 |
commit | c021c39cbd0bf1f0a85c9699275600ac35aa9ec4 (patch) | |
tree | c2855f89bf92076a30766f65c0cd023e225e6b69 /synapse/rest/media | |
parent | Don't needlessly rename variable (diff) | |
download | synapse-c021c39cbd0bf1f0a85c9699275600ac35aa9ec4.tar.xz |
Remove spurious addition
Diffstat (limited to 'synapse/rest/media')
-rw-r--r-- | synapse/rest/media/v1/media_repository.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/synapse/rest/media/v1/media_repository.py b/synapse/rest/media/v1/media_repository.py index f06813c48c..3b8fe5ddb4 100644 --- a/synapse/rest/media/v1/media_repository.py +++ b/synapse/rest/media/v1/media_repository.py @@ -380,8 +380,6 @@ class MediaRepository(object): )) if t_byte_source: - t_width, t_height = t_byte_source.dimensions - output_path = yield self.write_to_file_and_backup( t_byte_source, self.filepaths.local_media_thumbnail_rel( @@ -410,8 +408,6 @@ class MediaRepository(object): )) if t_byte_source: - t_width, t_height = t_byte_source.dimensions - output_path = yield self.write_to_file_and_backup( t_byte_source, self.filepaths.remote_media_thumbnail_rel( |