forked from MarseyWorld/MarseyWorld
master
parent
f70ab8b140
commit
71214dccc1
|
@ -34,7 +34,7 @@ def upload_ibb(file=None, resize=False):
|
|||
except Exception as e:
|
||||
print(e)
|
||||
return
|
||||
else: i.save("image.webp", optimize=True, quality=30)
|
||||
else: i.save("image.webp")
|
||||
|
||||
try:
|
||||
with open("image.webp", 'rb') as f:
|
||||
|
|
Loading…
Reference in New Issue