Fix typo in _select_thumbnail

This commit is contained in:
Brendan Abolivier 2020-01-22 12:27:42 +00:00
parent aa9b00fb2f
commit ed83c3a018
No known key found for this signature in database
GPG Key ID: 1E015C145F1916CD

View File

@ -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: