delete temp file after upload

This commit is contained in:
Luke Robles 2022-06-23 14:18:04 -07:00
parent b07000f789
commit f984917a2c

View File

@ -74,6 +74,7 @@ async def convert_heic_to_jpg(ctx):
"%s said:\n%s" % (ctx.author.mention, ctx.content), "%s said:\n%s" % (ctx.author.mention, ctx.content),
file=discord.File(jpg_file), file=discord.File(jpg_file),
) )
os.remove(file_path)
return return