diff --git a/catalog/jobs/discover.py b/catalog/jobs/discover.py index 6ef47fe4..8fc479b8 100644 --- a/catalog/jobs/discover.py +++ b/catalog/jobs/discover.py @@ -79,8 +79,10 @@ def get_popular_commented_podcast_ids(self, days, exisiting_ids): def cleanup_shows(self, items): seasons = [i for i in items if i.__class__ == TVSeason] for season in seasons: - if season.show in items: - items.remove(season.show) + if season.show: + items.remove(season) + if season.show not in items: + items.append(season.show) return items def run(self):