This commit is contained in:
Aevann1 2021-09-13 18:46:27 +02:00
parent 95bcb40bf6
commit 99af0afa20

View file

@ -34,7 +34,7 @@ def upload_ibb(file=None, resize=False):
except Exception as e:
print(e)
return
i.save("image.webp", optimize=True, quality=30)
i.save("image.webp")
try:
with open("image.webp", 'rb') as f: