From d797d307040df7a42dd1c30643bee40b381e5c24 Mon Sep 17 00:00:00 2001 From: Prinz23 Date: Sun, 28 May 2023 07:33:41 +0200 Subject: [PATCH] Fix add show "TheTVDB via Trakt" --- sickgear/webserve.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sickgear/webserve.py b/sickgear/webserve.py index 97fe1b3a..f4b0f42b 100644 --- a/sickgear/webserve.py +++ b/sickgear/webserve.py @@ -4227,7 +4227,7 @@ class AddShows(Home): show['ids'][(tvid, TVINFO_TVDB)[TVINFO_TRAKT == tvid]]) + ('', '&lid=%s' % sickgear.TVInfoAPI().config.get('langabbv_to_id', {}).get(lang, lang))[ TVINFO_TVDB == tvid], - int(show['id']), + (int(show['id']), show['ids'][TVINFO_TVDB])[TVINFO_TRAKT == tvid], show['seriesname'], helpers.xhtml_escape(show['seriesname']), show['firstaired'], (isinstance(show['firstaired'], string_types) and show['firstaired'] and SGDatetime.sbfdate(_parse_date(show['firstaired'])) or ''),