Port:Fix BTN adding same search parameters multiple times.

This commit is contained in:
JackDandy 2014-06-19 15:57:50 +01:00
parent b9c22582cf
commit 42f018bf06
1 changed files with 2 additions and 1 deletions

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