diff options
author | Brendan Abolivier <babolivier@matrix.org> | 2020-01-22 12:27:42 +0000 |
---|---|---|
committer | Brendan Abolivier <babolivier@matrix.org> | 2020-01-22 12:27:42 +0000 |
commit | ed83c3a018714f20bb660c39e1a42e856eb3bedb (patch) | |
tree | 513d09dae517d70593833500e210a75d8fdc7a1f | |
parent | Fix and add test to deprecated quarantine media admin api (#6756) (diff) | |
download | synapse-ed83c3a018714f20bb660c39e1a42e856eb3bedb.tar.xz |
Fix typo in _select_thumbnail
-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: |