Merge pull request #365 from WebSpider/dev-fix_typo_searchstring

Fix for typo
This commit is contained in:
Nils 2014-05-05 00:43:32 +02:00
commit 96ff54c255

View file

@ -250,7 +250,7 @@ class GenericProvider:
searchStrings += self._get_episode_search_strings(epObj)
# remove duplicate search strings
if len(searchString):
if len(searchStrings):
searchStrings = [i for n, i in enumerate(searchStrings) if i not in searchStrings[n + 1:]]
for curString in sorted(searchStrings):