This commit is contained in:
Aevann1 2021-07-30 13:22:41 +02:00
parent 6cfbdb7597
commit 88f4433bc7

View file

@ -28,7 +28,7 @@ def upload_file(file=None, resize=False):
om = next(frames) om = next(frames)
om.info = i.info om.info = i.info
om.save("image.gif", save_all=True, append_images=list(frames)) om.save("image.gif", save_all=True, append_images=list(frames), loop=1)
try: try:
with open('image.gif', 'rb') as f: with open('image.gif', 'rb') as f: