From a94806b2d49e465178a4f5c96a28ab0e80fa214c Mon Sep 17 00:00:00 2001 From: meisnate12 Date: Mon, 23 Aug 2021 17:46:29 -0400 Subject: [PATCH] fix trakt_trending --- modules/trakt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/trakt.py b/modules/trakt.py index 1bba8d46..ee5772ac 100644 --- a/modules/trakt.py +++ b/modules/trakt.py @@ -157,7 +157,7 @@ class Trakt: current_type = item["type"] else: continue - id_type = "tmdb" if item["type"] == "movie" else "tvdb" + id_type = "tmdb" if current_type == "movie" else "tvdb" if data["ids"][id_type]: final_id = data["ids"][id_type] if current_type == "episode":