1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-11-05 17:05:03 -05:00

Fixed a tiny bug in searchShowSubtitles, to show all languages instead of just the new one.

This commit is contained in:
Ofir Brukner 2014-10-13 12:49:05 +03:00
parent f9bac63135
commit b8c8e02394

View File

@ -4472,7 +4472,8 @@ class Home(MainHandler):
else:
status = 'No subtitles downloaded'
ui.notifications.message('Subtitles Search', status)
return json.dumps({'result': status, 'subtitles': ','.join([x.alpha2 for x in ep_obj.subtitles])})
return json.dumps({'result': status, 'subtitles': ','.join(sorted([x.alpha2 for x in
ep_obj.subtitles.union(previous_subtitles)]))})
def setSceneNumbering(self, show, indexer, forSeason=None, forEpisode=None, forAbsolute=None, sceneSeason=None,
sceneEpisode=None, sceneAbsolute=None):