fix trakt_trending

pull/368/head
meisnate12 3 years ago
parent 480704cf39
commit a94806b2d4

@ -157,7 +157,7 @@ class Trakt:
current_type = item["type"] current_type = item["type"]
else: else:
continue continue
id_type = "tmdb" if item["type"] == "movie" else "tvdb" id_type = "tmdb" if current_type == "movie" else "tvdb"
if data["ids"][id_type]: if data["ids"][id_type]:
final_id = data["ids"][id_type] final_id = data["ids"][id_type]
if current_type == "episode": if current_type == "episode":

Loading…
Cancel
Save