Merge pull request #612 from JackDandy/port_fix_BTN_duplicate_search_params

Port:Fix BTN adding same search parameters multiple times.
This commit is contained in:
echel0n 2014-06-19 09:47:45 -07:00
commit 7ce409e90d

View file

@ -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