From c200096c031ac6f86f2ceb3792601ab0b33439ea Mon Sep 17 00:00:00 2001 From: pukkandan Date: Tue, 16 Aug 2022 22:00:51 +0530 Subject: [PATCH] Fix bug in --download-archive Closes #4668 --- yt_dlp/YoutubeDL.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yt_dlp/YoutubeDL.py b/yt_dlp/YoutubeDL.py index 7a2b03cb5..7f6dc6027 100644 --- a/yt_dlp/YoutubeDL.py +++ b/yt_dlp/YoutubeDL.py @@ -3443,7 +3443,7 @@ def in_download_archive(self, info_dict): return False vid_ids = [self._make_archive_id(info_dict)] - vid_ids.extend(info_dict.get('_old_archive_ids', [])) + vid_ids.extend(info_dict.get('_old_archive_ids') or []) return any(id_ in self.archive for id_ in vid_ids) def record_download_archive(self, info_dict):