mirror of
https://github.com/moparisthebest/SickRage
synced 2024-11-16 14:25:02 -05:00
Fixed displaying of currently running searches
This commit is contained in:
parent
a4c8c53c91
commit
c54e70e99b
@ -4379,13 +4379,15 @@ class Home(MainHandler):
|
|||||||
searchstatus = 'searching'
|
searchstatus = 'searching'
|
||||||
if searchThread.success:
|
if searchThread.success:
|
||||||
searchstatus = 'finished'
|
searchstatus = 'finished'
|
||||||
episodes.append({'episode': searchThread.segment.episode,
|
else:
|
||||||
|
searchstatus = 'searching'
|
||||||
|
episodes.append({'episode': searchThread.segment.episode,
|
||||||
'episodeindexid': searchThread.segment.indexerid,
|
'episodeindexid': searchThread.segment.indexerid,
|
||||||
'season' : searchThread.segment.season,
|
'season' : searchThread.segment.season,
|
||||||
'searchstatus' : searchstatus,
|
'searchstatus' : searchstatus,
|
||||||
'status' : statusStrings[searchThread.segment.status],
|
'status' : statusStrings[searchThread.segment.status],
|
||||||
'quality': self.getQualityClass(searchThread.segment)})
|
'quality': self.getQualityClass(searchThread.segment)})
|
||||||
|
|
||||||
if finishedManualSearchThreadItems:
|
if finishedManualSearchThreadItems:
|
||||||
for searchThread in finishedManualSearchThreadItems:
|
for searchThread in finishedManualSearchThreadItems:
|
||||||
if isinstance(searchThread, sickbeard.search_queue.ManualSearchQueueItem):
|
if isinstance(searchThread, sickbeard.search_queue.ManualSearchQueueItem):
|
||||||
|
Loading…
Reference in New Issue
Block a user