From 5e95c5bc0294d324ae494e88ad708648b912588b Mon Sep 17 00:00:00 2001 From: krazykrazz Date: Thu, 8 May 2014 20:18:37 -0400 Subject: [PATCH] Update search_queue.py --- sickbeard/search_queue.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sickbeard/search_queue.py b/sickbeard/search_queue.py index fd5b6cc3..9f6be560 100644 --- a/sickbeard/search_queue.py +++ b/sickbeard/search_queue.py @@ -142,7 +142,7 @@ class SearchQueue(generic_queue.GenericQueue): return self.min_priority >= generic_queue.QueuePriorities.NORMAL def is_backlog_in_progress(self): - for cur_item in self.queue + [self.currentItem]: + for cur_item in self.queue.queue + [self.currentItem]: if isinstance(cur_item, BacklogQueueItem): return True return False @@ -441,4 +441,4 @@ class FailedQueueItem(generic_queue.QueueItem): def snatch_results(f): for result in f.result(): snatch_queue_item = SnatchQueueItem(result, result.queue_item) - SnatchQueue().add_item(snatch_queue_item) \ No newline at end of file + SnatchQueue().add_item(snatch_queue_item)