diff --git a/sickbeard/search_queue.py b/sickbeard/search_queue.py index 564e4f8b..3fa20e75 100644 --- a/sickbeard/search_queue.py +++ b/sickbeard/search_queue.py @@ -84,9 +84,9 @@ class SearchQueue(generic_queue.GenericQueue): return self.min_priority >= generic_queue.QueuePriorities.NORMAL def is_manualsearch_in_progress(self): - for cur_item in self.queue + [self.currentItem]: - if isinstance(cur_item, (ManualSearchQueueItem, FailedQueueItem)): - return True + # Only referenced in webserve.py, only current running manualsearch or failedsearch is needed!! + if isinstance(self.currentItem, (ManualSearchQueueItem, FailedQueueItem)): + return True return False def is_backlog_in_progress(self):