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

Merge pull request #868 from ofir123/search_subtitles_bug

Tiny bugfix in searchShowSubtitles
This commit is contained in:
adam111316 2014-10-13 18:58:20 +08:00
commit e708a1c94c

View File

@ -4472,7 +4472,8 @@ class Home(MainHandler):
else: else:
status = 'No subtitles downloaded' status = 'No subtitles downloaded'
ui.notifications.message('Subtitles Search', status) 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, def setSceneNumbering(self, show, indexer, forSeason=None, forEpisode=None, forAbsolute=None, sceneSeason=None,
sceneEpisode=None, sceneAbsolute=None): sceneEpisode=None, sceneAbsolute=None):