mirror of
https://github.com/moparisthebest/SickRage
synced 2024-11-05 17:05:03 -05:00
commit
0c5935146e
@ -142,7 +142,7 @@ class SearchQueue(generic_queue.GenericQueue):
|
||||
return self.min_priority >= generic_queue.QueuePriorities.NORMAL
|
||||
|
||||
def is_backlog_in_progress(self):
|
||||
for cur_item in self.queue + [self.currentItem]:
|
||||
for cur_item in self.queue.queue + [self.currentItem]:
|
||||
if isinstance(cur_item, BacklogQueueItem):
|
||||
return True
|
||||
return False
|
||||
@ -441,4 +441,4 @@ class FailedQueueItem(generic_queue.QueueItem):
|
||||
def snatch_results(f):
|
||||
for result in f.result():
|
||||
snatch_queue_item = SnatchQueueItem(result, result.queue_item)
|
||||
SnatchQueue().add_item(snatch_queue_item)
|
||||
SnatchQueue().add_item(snatch_queue_item)
|
||||
|
Loading…
Reference in New Issue
Block a user