tr
This commit is contained in:
parent
6e0577abfe
commit
fa36b442ba
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ def upload_imgur(file, resize=False):
|
||||||
|
|
||||||
om = next(frames)
|
om = next(frames)
|
||||||
om.info = i.info
|
om.info = i.info
|
||||||
try: om.save(f"image.{om.format}", save_all=True, append_images=list(frames), loop=0, optimize=True, quality=30)
|
try: om.save(f"image.{om.filename.split('.')[-1]}", save_all=True, append_images=list(frames), loop=0, optimize=True, quality=30)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print(type(om))
|
print(type(om))
|
||||||
print(om.format)
|
print(om.format)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue