fd
This commit is contained in:
parent
32d96364f4
commit
6afa8178bf
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
else: i.save("image.webp", optimize=True, quality=30)
|
else: i.save("image.webp")
|
||||||
|
|
||||||
try:
|
try:
|
||||||
with open("image.webp", 'rb') as f:
|
with open("image.webp", 'rb') as f:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue