mirror of
https://github.com/SickGear/SickGear.git
synced 2024-12-03 01:43:37 +00:00
Testing season pack fix for BTN
This commit is contained in:
parent
a5794a5347
commit
b5890b2af7
2 changed files with 6 additions and 7 deletions
|
@ -294,17 +294,16 @@ def filterSearchResults(show, results):
|
|||
foundResults = {}
|
||||
|
||||
# make a list of all the results for this provider
|
||||
for curEp in results.keys():
|
||||
for curEp in results:
|
||||
# skip non-tv crap
|
||||
results[curEp] = filter(
|
||||
lambda x: show_name_helpers.filterBadReleases(x.name) and show_name_helpers.isGoodResult(x.name, show),
|
||||
results[curEp])
|
||||
|
||||
if len(results[curEp]):
|
||||
if curEp in foundResults:
|
||||
foundResults[curEp] += results[curEp]
|
||||
else:
|
||||
foundResults[curEp] = results[curEp]
|
||||
if curEp in foundResults:
|
||||
foundResults[curEp] += results[curEp]
|
||||
else:
|
||||
foundResults[curEp] = results[curEp]
|
||||
|
||||
return foundResults
|
||||
|
||||
|
|
|
@ -133,7 +133,7 @@ class BacklogQueueItem(generic_queue.QueueItem):
|
|||
generic_queue.QueueItem.__init__(self, 'Backlog', BACKLOG_SEARCH)
|
||||
self.priority = generic_queue.QueuePriorities.LOW
|
||||
self.thread_name = 'BACKLOG-' + str(show.indexerid) + '-'
|
||||
|
||||
self.success = None
|
||||
self.show = show
|
||||
self.segment = segment
|
||||
self.wantedEpisodes = []
|
||||
|
|
Loading…
Reference in a new issue