1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-12-13 11:32:20 -05:00

Fix for updating queue icon when DailySearchQueueItem is running.

Did not had any impact on searching.. only unexpected behavior when updating the spinner or queue img.
This commit is contained in:
KontiSR 2014-09-21 12:18:43 +02:00
parent 0de998528d
commit 69bb4d6373

View File

@ -84,8 +84,7 @@ 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):
for cur_item in self.queue + [self.currentItem]: if isinstance(self.currentItem, (ManualSearchQueueItem, FailedQueueItem)):
if isinstance(cur_item, (ManualSearchQueueItem, FailedQueueItem)):
return True return True
return False return False