From 9a3fec811f32d7bff8dadbfe0ae0c5a51753f37c Mon Sep 17 00:00:00 2001 From: TagForce Date: Thu, 29 Jan 2015 11:11:34 +0100 Subject: [PATCH] Fix for 'List type has no attribute' on setting failed - Fixes the erroneous use of segment as a list, when it is already a list of episodes. This causes various errors in debug log complaining about missing attributes. This usage was introduced in https://github.com/SiCKRAGETV/SickRage/commit/a4c8c53c9141c2050caf230c12ec080faff9c0ca --- sickbeard/failedProcessor.py | 2 +- sickbeard/webserve.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sickbeard/failedProcessor.py b/sickbeard/failedProcessor.py index 6c1245bb..80255e97 100644 --- a/sickbeard/failedProcessor.py +++ b/sickbeard/failedProcessor.py @@ -67,7 +67,7 @@ class FailedProcessor(object): for episode in parsed.episode_numbers: segment = parsed.show.getEpisode(parsed.season_number, episode) - cur_failed_queue_item = search_queue.FailedQueueItem(parsed.show, [segment]) + cur_failed_queue_item = search_queue.FailedQueueItem(parsed.show, segment) sickbeard.searchQueueScheduler.action.add_item(cur_failed_queue_item) return True diff --git a/sickbeard/webserve.py b/sickbeard/webserve.py index b6f023f2..3ffb98a2 100644 --- a/sickbeard/webserve.py +++ b/sickbeard/webserve.py @@ -1654,7 +1654,7 @@ class Home(WebRoot): msg += '