diff --git a/bot/helper/common.py b/bot/helper/common.py index 13674d9d5..6d5110b47 100644 --- a/bot/helper/common.py +++ b/bot/helper/common.py @@ -1379,7 +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) + os.replace(temp_file, file_path) if checked: cpu_eater_lock.release() return dl_path