1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-12-12 19:12:26 -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,7 +84,8 @@ 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)):
for cur_item in self.queue + [self.currentItem]:
if isinstance(cur_item, (ManualSearchQueueItem, FailedQueueItem)):
return True
return False