This commit is contained in:
Aevann1 2021-09-15 02:34:15 +02:00
parent 2a9f66a3dc
commit 3a649eff03

View file

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