From d0a7d5766e077f462d9c6a3353435abc0455715c Mon Sep 17 00:00:00 2001 From: Zoe Roux Date: Tue, 14 May 2024 02:52:20 +0200 Subject: [PATCH] Fix season artwork fetch on tvdb --- scanner/providers/implementations/thetvdb.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scanner/providers/implementations/thetvdb.py b/scanner/providers/implementations/thetvdb.py index c55273e8..66ab161b 100644 --- a/scanner/providers/implementations/thetvdb.py +++ b/scanner/providers/implementations/thetvdb.py @@ -387,13 +387,13 @@ class TVDB(Provider): overview=data["data"]["overview"], posters=[ i["image"] - for i in data["data"]["artworks"] + for i in info["data"]["artworks"] if i["type"] == 7 and (i["language"] == lang or i["language"] is None) ], thumbnails=[ i["image"] - for i in data["data"]["artworks"] + for i in info["data"]["artworks"] if i["type"] == 8 and (i["language"] == lang or i["language"] is None) ],