diff options
author | pukkandan <pukkandan.ytdlp@gmail.com> | 2022-05-01 04:58:26 +0530 |
---|---|---|
committer | pukkandan <pukkandan.ytdlp@gmail.com> | 2022-05-01 04:58:26 +0530 |
commit | 43d7f5a5d0c77556156a3f8caa6976d3908a1e38 (patch) | |
tree | 6d21b8cd24a50524f58a180700b7b8a805d92a36 /yt_dlp/postprocessor/modify_chapters.py | |
parent | 94aa064497122084c68f5f366c4c0ad5ea082485 (diff) | |
download | hypervideo-pre-43d7f5a5d0c77556156a3f8caa6976d3908a1e38.tar.lz hypervideo-pre-43d7f5a5d0c77556156a3f8caa6976d3908a1e38.tar.xz hypervideo-pre-43d7f5a5d0c77556156a3f8caa6976d3908a1e38.zip |
[EmbedThumbnail] Do not obey `-k`
Diffstat (limited to 'yt_dlp/postprocessor/modify_chapters.py')
-rw-r--r-- | yt_dlp/postprocessor/modify_chapters.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/postprocessor/modify_chapters.py b/yt_dlp/postprocessor/modify_chapters.py index 7e2c23288..8a2ef9065 100644 --- a/yt_dlp/postprocessor/modify_chapters.py +++ b/yt_dlp/postprocessor/modify_chapters.py @@ -314,7 +314,7 @@ class ModifyChaptersPP(FFmpegPostProcessor): self.to_screen(f'Removing chapters from {filename}') self.concat_files([in_file] * len(concat_opts), out_file, concat_opts) if in_file != filename: - os.remove(in_file) + self._delete_downloaded_files(in_file, msg=None) return out_file @staticmethod |