remotes/1693045480750635534/spooky-22
Aevann1 2021-07-29 10:21:47 +02:00
parent c104884112
commit 911190a314
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ def upload_file(file, resize=None):
if resize:
filename = "image.gif"
file.save(filename)
file.save(filename, format='GIF')
i = IImage.open(filename)
i = crop_and_resize(i, resize)
img = io.BytesIO()