From 42f018bf062af70a753db8a17a284d46b058a183 Mon Sep 17 00:00:00 2001 From: JackDandy Date: Thu, 19 Jun 2014 15:57:50 +0100 Subject: [PATCH] Port:Fix BTN adding same search parameters multiple times. --- sickbeard/providers/btn.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sickbeard/providers/btn.py b/sickbeard/providers/btn.py index 0a8afa13..5a596a28 100644 --- a/sickbeard/providers/btn.py +++ b/sickbeard/providers/btn.py @@ -223,7 +223,8 @@ class BTNProvider(generic.TorrentProvider): else: whole_season_params['name'] = 'Season ' + str(ep_obj.scene_season) - search_params.append(whole_season_params) + if whole_season_params not in search_params: + search_params.append(whole_season_params) return search_params