From: Ismael Mejia Date: Sat, 23 Feb 2013 15:24:59 +0000 (+0100) Subject: Fixed typo in error message when no subtitles were available. X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=c0ba10467457a58e7198b58793f3c4683b1c3ec7;p=youtube-dl Fixed typo in error message when no subtitles were available. --- diff --git a/youtube_dl/InfoExtractors.py b/youtube_dl/InfoExtractors.py index ff1fab773..ab8bd2104 100755 --- a/youtube_dl/InfoExtractors.py +++ b/youtube_dl/InfoExtractors.py @@ -247,7 +247,7 @@ class YoutubeIE(InfoExtractor): sub_lang_list = re.findall(r'name="([^"]*)"[^>]+lang_code="([\w\-]+)"', sub_list) sub_lang_list = dict((l[1], l[0]) for l in sub_lang_list) if not sub_lang_list: - return (u'WARNING: video doesn\'t have download', None) + return (u'WARNING: video doesn\'t have subtitles', None) return sub_lang_list def _list_available_subtitles(self, video_id):