randydev commited on
Commit
a7180e6
·
verified ·
1 Parent(s): 8155e17

Update Akeno/plugins/imageai.py

Browse files
Files changed (1) hide show
  1. Akeno/plugins/imageai.py +0 -1
Akeno/plugins/imageai.py CHANGED
@@ -62,7 +62,6 @@ async def imgfluxai_(client: Client, message: Message):
62
  with Image.open(io.BytesIO(image_bytes)) as img:
63
  img.save("testing.jpg", format="JPEG")
64
  await message.reply_photo("testing.jpg", progress=progress, progress_args=(seconds_uploading, seconds_time, "Uploading image..."))
65
- await seconds_image.delete()
66
  except Exception as e:
67
  LOGS.error(str(e))
68
  await message.edit_text(f"An error occurred: {str(e)}")
 
62
  with Image.open(io.BytesIO(image_bytes)) as img:
63
  img.save("testing.jpg", format="JPEG")
64
  await message.reply_photo("testing.jpg", progress=progress, progress_args=(seconds_uploading, seconds_time, "Uploading image..."))
 
65
  except Exception as e:
66
  LOGS.error(str(e))
67
  await message.edit_text(f"An error occurred: {str(e)}")