From 3886724efe8cf00af22f36704eac90a97b2a9281 Mon Sep 17 00:00:00 2001 From: Simon Date: Sun, 28 Dec 2025 08:50:05 +0700 Subject: [PATCH] fix None playlist overwrite indexing --- backend/download/src/yt_dlp_handler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/download/src/yt_dlp_handler.py b/backend/download/src/yt_dlp_handler.py index 08017a3c..9459ea3b 100644 --- a/backend/download/src/yt_dlp_handler.py +++ b/backend/download/src/yt_dlp_handler.py @@ -429,7 +429,7 @@ class DownloadPostProcess(DownloaderBase): channel = YoutubeChannel(channel_id) channel.get_from_es() overwrites = channel.get_overwrites() - if "index_playlists" in overwrites: + if overwrites.get("index_playlists"): channel.get_all_playlists() to_add = [i[0] for i in channel.all_playlists] RedisQueue(self.PLAYLIST_QUEUE).add_list(to_add)