mirror of
https://github.com/element-hq/synapse
synced 2024-08-21 10:10:20 +00:00
Fix typo in _select_thumbnail
This commit is contained in:
parent
aa9b00fb2f
commit
ed83c3a018
1 changed files with 1 additions and 1 deletions
|
@ -331,7 +331,7 @@ class ThumbnailResource(DirectServeResource):
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
if crop_info_list:
|
if crop_info_list:
|
||||||
return min(crop_info_list2)[-1]
|
return min(crop_info_list)[-1]
|
||||||
else:
|
else:
|
||||||
return min(crop_info_list2)[-1]
|
return min(crop_info_list2)[-1]
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue