This commit is contained in:
Aevann1 2021-09-10 05:11:13 +02:00
parent a224f5847b
commit b3413074b8
3 changed files with 1 additions and 3 deletions

View file

@ -42,7 +42,7 @@ def upload_ibb(filepath=None, file=None, resize=False):
return url
def upload_ibb(filepath=None, file=None, resize=False):
def upload_imgur(filepath=None, file=None, resize=False):
if filepath: file = IImage.open(file)
file.save(f"image.{file.format}", optimize=True, quality=30)