fd
This commit is contained in:
parent
80a82fce7d
commit
0706aff763
1 changed files with 0 additions and 2 deletions
|
@ -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())}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue