1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-12-12 11:02:21 -05:00

Fixed displaying of currently running searches

This commit is contained in:
KontiSR 2014-09-19 13:56:49 +02:00
parent a4c8c53c91
commit c54e70e99b

View File

@ -4379,13 +4379,15 @@ class Home(MainHandler):
searchstatus = 'searching'
if searchThread.success:
searchstatus = 'finished'
episodes.append({'episode': searchThread.segment.episode,
else:
searchstatus = 'searching'
episodes.append({'episode': searchThread.segment.episode,
'episodeindexid': searchThread.segment.indexerid,
'season' : searchThread.segment.season,
'searchstatus' : searchstatus,
'status' : statusStrings[searchThread.segment.status],
'quality': self.getQualityClass(searchThread.segment)})
'season' : searchThread.segment.season,
'searchstatus' : searchstatus,
'status' : statusStrings[searchThread.segment.status],
'quality': self.getQualityClass(searchThread.segment)})
if finishedManualSearchThreadItems:
for searchThread in finishedManualSearchThreadItems:
if isinstance(searchThread, sickbeard.search_queue.ManualSearchQueueItem):