fix
This commit is contained in:
@@ -75,7 +75,7 @@ async def check_updates():
|
||||
Image.LANCZOS)
|
||||
im = Image.new('RGBA', dl_im.size, (255, 255, 255))
|
||||
composite = Image.alpha_composite(im, dl_im).convert('RGB')
|
||||
file.truncate(0)
|
||||
file = BytesIO()
|
||||
composite.save(file, format='JPEG')
|
||||
file.seek(0)
|
||||
file.name = 'file.jpg'
|
||||
|
||||
Reference in New Issue
Block a user