master
Aevann1 2021-09-10 06:20:40 +02:00
parent e2c2bc37d7
commit d6fa23b1f3
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ def upload_imgur(filepath=None, file=None, resize=False):
om.info = i.info
try: om.save(filepath, save_all=True, append_images=list(frames), loop=0, optimize=True, quality=30)
except: return
else:
elif format != ".gif":
i = IImage.open(filepath)
i.save(filepath, optimize=True, quality=30)