mirror of
https://github.com/chibicitiberiu/ytsm.git
synced 2024-02-24 05:43:31 +00:00
Began work on refactoring the YTSM application.
This commit is contained in:
@ -46,4 +46,4 @@ def best_thumbnail(resource: Resource) -> Optional[Thumbnail]:
|
||||
if thumbs is None or len(thumbs) <= 0:
|
||||
return None
|
||||
|
||||
return max(thumbs, key=lambda t: t.width * t.height)
|
||||
return max(thumbs, key=lambda t: t.width * t.height)
|
||||
|
Reference in New Issue
Block a user