diff --git a/bot/helper/common.py b/bot/helper/common.py index 3c27a12ea..13674d9d5 100644 --- a/bot/helper/common.py +++ b/bot/helper/common.py @@ -1379,6 +1379,7 @@ async def proceed_metadata(self, dl_path, gid): self.subname = file_ await run_ffmpeg_cmd(self, cmd) self.suproc = None + os.replace(temp_file, dl_path) if checked: cpu_eater_lock.release() return dl_path