fixed weird issue by forcing RGB vid thumbnail

pull/12/head
simon 3 years ago
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…
Cancel
Save