diff --git a/yt_dlp/YoutubeDL.py b/yt_dlp/YoutubeDL.py index 492017ba7..070f019b9 100644 --- a/yt_dlp/YoutubeDL.py +++ b/yt_dlp/YoutubeDL.py @@ -3467,7 +3467,7 @@ class YoutubeDL: 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: