Fixed BacklogSearchQueueItem show attribute error during searches

This commit is contained in:
echel0n 2014-09-06 22:06:11 -07:00
parent 3efa9709af
commit 2fbae22f2f

View file

@ -100,7 +100,7 @@ class BacklogSearcher:
segments = self._get_segments(curShow, fromDate)
for season, segment in segments.items():
self.currentSearchInfo = {'title': self.show.name + " Season " + str(season)}
self.currentSearchInfo = {'title': curShow.name + " Season " + str(season)}
backlog_queue_item = search_queue.BacklogQueueItem(curShow, segment)
sickbeard.searchQueueScheduler.action.add_item(backlog_queue_item) # @UndefinedVariable