From 80651447ae7e263ba7bb34920e1be852ed58a802 Mon Sep 17 00:00:00 2001 From: echel0n Date: Thu, 22 May 2014 10:01:03 -0700 Subject: [PATCH] Update webserve.py --- sickbeard/webserve.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sickbeard/webserve.py b/sickbeard/webserve.py index d33f0d01..547f47e5 100644 --- a/sickbeard/webserve.py +++ b/sickbeard/webserve.py @@ -3561,8 +3561,11 @@ class Home: if isinstance(ep_obj, str): return json.dumps({'result': 'failure'}) + # create failed segment + segment = {season:[ep_obj]} + # make a queue item for it and put it on the queue - ep_queue_item = search_queue.FailedQueueItem(ep_obj.show, [ep_obj]) + ep_queue_item = search_queue.FailedQueueItem(ep_obj.show, segment) sickbeard.searchQueueScheduler.action.add_item(ep_queue_item) # @UndefinedVariable # wait until the queue item tells us whether it worked or not