mirror of
https://github.com/element-hq/synapse.git
synced 2026-10-22 10:22:32 +00:00
Remove spurious addition
This commit is contained in:
1 parent
1f43d22397
commit
c021c39cbd
1 file changed
-4
@@ -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(
|
||||
|
||||
Reference in new issue
Block a user