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

Fixing typo in last commit

This commit is contained in:
Adam 2014-09-08 17:45:02 +08:00
parent 7adc669789
commit 981d6612b8

View File

@ -81,9 +81,9 @@ class SearchQueue(generic_queue.GenericQueue):
length = {'backlog': 0, 'daily': 0, 'manual': 0, 'failed': 0} length = {'backlog': 0, 'daily': 0, 'manual': 0, 'failed': 0}
for cur_item in self.queue: for cur_item in self.queue:
if isinstance(cur_item, DailySearchQueueItem): if isinstance(cur_item, DailySearchQueueItem):
length['backlog'] += 1
elif isinstance(cur_item, BacklogQueueItem):
length['daily'] += 1 length['daily'] += 1
elif isinstance(cur_item, BacklogQueueItem):
length['backlog'] += 1
elif isinstance(cur_item, ManualSearchQueueItem): elif isinstance(cur_item, ManualSearchQueueItem):
length['manual'] += 1 length['manual'] += 1
elif isinstance(cur_item, FailedQueueItem): elif isinstance(cur_item, FailedQueueItem):