1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-12-12 11:02:21 -05:00

Revert "Fix for updating queue icon when DailySearchQueueItem is running."

This commit is contained in:
echel0n 2014-09-21 13:37:14 -07:00
parent cfae1ffa2d
commit f15d5cff57

View File

@ -84,8 +84,9 @@ class SearchQueue(generic_queue.GenericQueue):
return self.min_priority >= generic_queue.QueuePriorities.NORMAL
def is_manualsearch_in_progress(self):
if isinstance(self.currentItem, (ManualSearchQueueItem, FailedQueueItem)):
return True
for cur_item in self.queue + [self.currentItem]:
if isinstance(cur_item, (ManualSearchQueueItem, FailedQueueItem)):
return True
return False
def is_backlog_in_progress(self):