diff options
author | Brendan Abolivier <babolivier@matrix.org> | 2020-01-22 13:21:00 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-22 13:21:00 +0000 |
commit | ae6cf586b0186981a6b74c62169731d819249d93 (patch) | |
tree | cbaa73a4780e8f61a60f1cc1815eeb7ca9842bbe /synapse/rest | |
parent | Fix and add test to deprecated quarantine media admin api (#6756) (diff) | |
parent | Lint + changelog (diff) | |
download | synapse-ae6cf586b0186981a6b74c62169731d819249d93.tar.xz |
Merge pull request #6764 from matrix-org/babolivier/fix-thumbnail
Fix typo in _select_thumbnail
Diffstat (limited to 'synapse/rest')
-rw-r--r-- | synapse/rest/media/v1/thumbnail_resource.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/media/v1/thumbnail_resource.py b/synapse/rest/media/v1/thumbnail_resource.py index eee93b4313..d57480f761 100644 --- a/synapse/rest/media/v1/thumbnail_resource.py +++ b/synapse/rest/media/v1/thumbnail_resource.py @@ -331,7 +331,7 @@ class ThumbnailResource(DirectServeResource): ) ) if crop_info_list: - return min(crop_info_list2)[-1] + return min(crop_info_list)[-1] else: return min(crop_info_list2)[-1] else: |