diff --git a/yt_dlp/YoutubeDL.py b/yt_dlp/YoutubeDL.py index 492017ba74..070f019b92 100644 --- a/yt_dlp/YoutubeDL.py +++ b/yt_dlp/YoutubeDL.py @@ -3467,7 +3467,7 @@ def run_pp(self, pp, infodict): return infodict raise - if pp.PP_NAME = 'SubtitlesConvertor' and self.params.get('keepintermediate', False) == 'ConvertSubs': + if pp.PP_NAME == 'SubtitlesConvertor' and self.params.get('keepintermediate', False) == 'ConvertSubs': files_to_delete = [] if not files_to_delete: