1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-11-17 06:45:05 -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,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