Skip to content

Commit

Permalink
Fix more conditionals
Browse files Browse the repository at this point in the history
  • Loading branch information
fernandog committed Mar 3, 2016
1 parent 6b7d284 commit 8b74f27
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sickrage/providers/GenericProvider.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ def find_search_results(self, show, episodes, search_mode, manual_search=False,
searched_scene_season = None

for episode in episodes:
if manualSelect is False:
if not manualSelect:
cache_result = self.cache.searchCache(episode, manualSearch=manual_search,
downCurQuality=download_current_quality)
if cache_result:
Expand Down Expand Up @@ -200,7 +200,7 @@ def find_search_results(self, show, episodes, search_mode, manual_search=False,
version = parse_result.version
add_cache_entry = False

if manualSelect is False:
if not manualSelect:
if not (show_object.air_by_date or show_object.sports):
if search_mode == 'sponly':
if parse_result.episode_numbers:
Expand Down Expand Up @@ -284,7 +284,7 @@ def find_search_results(self, show, episodes, search_mode, manual_search=False,

episode_wanted = True

if manualSelect is False:
if not manualSelect:
for episode_number in actual_episodes:
if not show_object.wantEpisode(actual_season, episode_number, quality, manual_search,
download_current_quality):
Expand Down

0 comments on commit 8b74f27

Please sign in to comment.