Fix for issues relating to webAPI and episode searching.

This commit is contained in:
echel0n 2014-05-23 10:05:44 -07:00
parent a350be339c
commit 3b6534ca1d

View file

@ -905,7 +905,7 @@ class CMD_EpisodeSearch(ApiCall):
return _responds(RESULT_FAILURE, msg="Episode not found") return _responds(RESULT_FAILURE, msg="Episode not found")
# make a queue item for it and put it on the queue # make a queue item for it and put it on the queue
ep_queue_item = search_queue.ManualSearchQueueItem(epObj) ep_queue_item = search_queue.ManualSearchQueueItem(showObj, epObj)
sickbeard.searchQueueScheduler.action.add_item(ep_queue_item) #@UndefinedVariable sickbeard.searchQueueScheduler.action.add_item(ep_queue_item) #@UndefinedVariable
# wait until the queue item tells us whether it worked or not # wait until the queue item tells us whether it worked or not