Skip to content

Commit

Permalink
Fix issue /issues/264
Browse files Browse the repository at this point in the history
  • Loading branch information
fernandog committed Apr 3, 2016
1 parent 80123f9 commit c1ec81a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sickbeard/manual_search.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,9 +140,9 @@ def collectEpisodesFromSearchThread(show):
if show and not str(search_thread.show.indexerid) == show:
continue

if isinstance(search_thread, sickbeard.search_queue.ForcedSearchQueueItem) and \
not [x for x in episodes if x['episodeindexid'] == search_thread.segment.indexerid]:
episodes += getEpisodes(search_thread, searchstatus)
if isinstance(search_thread, sickbeard.search_queue.ForcedSearchQueueItem):
if not [x for x in episodes if x['episodeindexid'] == search_thread.segment.indexerid]:
episodes += getEpisodes(search_thread, searchstatus)
else:
# These are only Failed Downloads/Retry search thread items.. lets loop through the segment/episodes
if not [i for i, j in zip(search_thread.segment, episodes) if i.indexerid == j['episodeindexid']]:
Expand Down

0 comments on commit c1ec81a

Please sign in to comment.