From f984917a2c61d5c08b0802969e8ede7c9d9259c7 Mon Sep 17 00:00:00 2001 From: Luke Robles <98352913+lrobles-iterable@users.noreply.github.com> Date: Thu, 23 Jun 2022 14:18:04 -0700 Subject: [PATCH] delete temp file after upload --- app/bot.py | 1 + 1 file changed, 1 insertion(+) diff --git a/app/bot.py b/app/bot.py index a62b2242..ce08a309 100644 --- a/app/bot.py +++ b/app/bot.py @@ -74,6 +74,7 @@ async def convert_heic_to_jpg(ctx): "%s said:\n%s" % (ctx.author.mention, ctx.content), file=discord.File(jpg_file), ) + os.remove(file_path) return