From 2da74595957af19536d49867ad55a3429f1b1a0e Mon Sep 17 00:00:00 2001 From: Hellow <74311245+HeIIow2@users.noreply.github.com> Date: Mon, 28 Aug 2023 21:01:21 +0200 Subject: [PATCH] fixed crash when nothing was implemented for a source --- src/music_kraken/download/page_attributes.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/music_kraken/download/page_attributes.py b/src/music_kraken/download/page_attributes.py index 60e85f7..58a15d5 100644 --- a/src/music_kraken/download/page_attributes.py +++ b/src/music_kraken/download/page_attributes.py @@ -75,6 +75,9 @@ class Pages: return music_object for source_page in music_object.source_collection.source_pages: + if source_page not in self._source_to_page: + continue + page_type = self._source_to_page[source_page] if page_type in self._pages_set: