From fde5ce4c58576be22ea9727efe84a4ba04fab67c Mon Sep 17 00:00:00 2001 From: Nils Vogels Date: Mon, 5 May 2014 00:20:23 +0200 Subject: [PATCH] Correcting typos in prefer_season_download feature --- sickbeard/__init__.py | 2 +- sickbeard/search.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sickbeard/__init__.py b/sickbeard/__init__.py index 23157c2e..c32914fa 100644 --- a/sickbeard/__init__.py +++ b/sickbeard/__init__.py @@ -1321,7 +1321,7 @@ def save_config(): new_config['General']['search_frequency'] = int(SEARCH_FREQUENCY) new_config['General']['update_frequency'] = int(UPDATE_FREQUENCY) new_config['General']['download_propers'] = int(DOWNLOAD_PROPERS) - new_config['General']['prefer_episode_releases'] = int(PREFER_EPISODE_RELEASES + new_config['General']['prefer_episode_releases'] = int(PREFER_EPISODE_RELEASES) new_config['General']['allow_high_priority'] = int(ALLOW_HIGH_PRIORITY) new_config['General']['quality_default'] = int(QUALITY_DEFAULT) new_config['General']['status_default'] = int(STATUS_DEFAULT) diff --git a/sickbeard/search.py b/sickbeard/search.py index b47892ee..38b90fa4 100644 --- a/sickbeard/search.py +++ b/sickbeard/search.py @@ -437,9 +437,9 @@ def searchProviders(show, season, episodes, seasonSearch=False, manualSearch=Fal # if we need every ep in the season check if single episode releases should be preferred over season releases (missing single episode releases will be picked individually from season release) preferSingleEpisodesOverSeasonReleases = sickbeard.PREFER_EPISODE_RELEASES - logger.log(u"Prefer single episodes over season releases: "+str(preferSingleEpisodesOverSeasonReleases), logger.DEBUG) + logger.log(u"Prefer single episodes over season releases: "+str(preferSingleEpisodesOverSeasonReleases), logger.DEBUG) # if we need every ep in the season and there's nothing better then just download this and be done with it (unless single episodes are preferred) - if allWanted and bestSeasonNZB.quality == highest_quality_overall and not preferSingleEpisodesOverSeasonReleases:: + if allWanted and bestSeasonNZB.quality == highest_quality_overall and not preferSingleEpisodesOverSeasonReleases: logger.log(u"Every ep in this season is needed, downloading the whole " + bestSeasonNZB.provider.providerType + " " + bestSeasonNZB.name) epObjs = [] for curEpNum in allEps: