forked from rDrama/rDrama
master
parent
bf44fe9fd6
commit
04679e4524
|
@ -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", optimize=True, quality=30)
|
i.save("image.webp")
|
||||||
|
|
||||||
try:
|
try:
|
||||||
with open("image.webp", 'rb') as f:
|
with open("image.webp", 'rb') as f:
|
||||||
|
|
Loading…
Reference in New Issue