1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-11-17 14:55:07 -05:00

Merge pull request #823 from echel0n/revert-821-dev

Revert "Fix for updating queue icon when DailySearchQueueItem is running...
This commit is contained in:
echel0n 2014-09-21 13:37:29 -07:00
commit d28e9c63cc

View File

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