This commit is contained in:
Aevann1 2021-09-13 18:47:22 +02:00
parent 80a82fce7d
commit 0706aff763

View file

@ -34,8 +34,6 @@ def upload_ibb(file=None, resize=False):
except Exception as e:
print(e)
return
i.save("image.webp")
try:
with open("image.webp", 'rb') as f:
data={'image': base64.b64encode(f.read())}