From 448a45cf4076218f8744cbf095b22e4a7d2d0df8 Mon Sep 17 00:00:00 2001 From: echel0n Date: Sun, 11 May 2014 07:40:24 -0700 Subject: [PATCH] Fix for complete season snatches. Removed multi-threading option from general config --- gui/slick/interfaces/default/config_general.tmpl | 10 ---------- sickbeard/search.py | 3 ++- sickbeard/webserve.py | 5 +---- 3 files changed, 3 insertions(+), 15 deletions(-) diff --git a/gui/slick/interfaces/default/config_general.tmpl b/gui/slick/interfaces/default/config_general.tmpl index 3631074b..cba94756 100644 --- a/gui/slick/interfaces/default/config_general.tmpl +++ b/gui/slick/interfaces/default/config_general.tmpl @@ -324,16 +324,6 @@ -
- - -
diff --git a/sickbeard/search.py b/sickbeard/search.py index ad13bbb7..ca6aaa68 100644 --- a/sickbeard/search.py +++ b/sickbeard/search.py @@ -441,7 +441,8 @@ def searchProviders(queueItem, show, season, episodes, curProvider, seasonSearch for curEpNum in allEps: epObjs.append(show.getEpisode(season, curEpNum)) bestSeasonNZB.episodes = epObjs - return [bestSeasonNZB] + queueItem.results = bestSeasonNZB + return queueItem elif not anyWanted: logger.log( diff --git a/sickbeard/webserve.py b/sickbeard/webserve.py index f31c8c6a..09b536c5 100644 --- a/sickbeard/webserve.py +++ b/sickbeard/webserve.py @@ -971,8 +971,7 @@ class ConfigGeneral: update_shows_on_start=None, update_frequency=None, launch_browser=None, web_username=None, use_api=None, api_key=None, web_password=None, version_notify=None, enable_https=None, https_cert=None, https_key=None, handle_reverse_proxy=None, sort_article=None, auto_update=None, proxy_setting=None, - anon_redirect=None, git_path=None, calendar_unprotected=None, date_preset=None, time_preset=None, indexer_default=None, - num_of_threads=None): + anon_redirect=None, git_path=None, calendar_unprotected=None, date_preset=None, time_preset=None, indexer_default=None,): results = [] @@ -1027,8 +1026,6 @@ class ConfigGeneral: sickbeard.HANDLE_REVERSE_PROXY = config.checkbox_to_value(handle_reverse_proxy) - sickbeard.NUM_OF_THREADS = config.to_int(num_of_threads) - sickbeard.save_config() if len(results) > 0: