mirror of
https://github.com/tubearchivist/tubearchivist-frontend.git
synced 2024-12-22 18:00:17 +00:00
fixed weird issue by forcing RGB vid thumbnail
This commit is contained in:
parent
7f6732422b
commit
227183189c
@ -125,7 +125,7 @@ class SearchHandler:
|
||||
new_height = width / 16 * 9
|
||||
offset = (height - new_height) / 2
|
||||
img = img.crop((0, offset, width, height - offset))
|
||||
img.save(cache_path)
|
||||
img.convert("RGB").save(cache_path)
|
||||
|
||||
def cache_dl_chan(self, all_channels):
|
||||
""" download channel thumbs """
|
||||
|
Loading…
Reference in New Issue
Block a user