From 74769ffc47e8f2ba492538c053cf86358ca1ad1e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Arnauts?= Date: Mon, 13 Apr 2020 10:32:04 +0200 Subject: [PATCH] Fix seaons without episodes --- resources/lib/viervijfzes/content.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/lib/viervijfzes/content.py b/resources/lib/viervijfzes/content.py index 4a263b0..5a34740 100644 --- a/resources/lib/viervijfzes/content.py +++ b/resources/lib/viervijfzes/content.py @@ -298,7 +298,7 @@ class ContentApi: description=playlist['pageInfo']['description'], number=playlist['episodes'][0]['seasonNumber'], # You did not see this ) - for key, playlist in enumerate(data['playlists']) + for key, playlist in enumerate(data['playlists']) if playlist['episodes'] } # Create Episodes info