Skip to content

Commit

Permalink
Fixed typo in error message when no subtitles were available.
Browse files Browse the repository at this point in the history
  • Loading branch information
iemejia authored and FiloSottile committed Mar 20, 2013
1 parent 2a4093e commit c0ba104
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion youtube_dl/InfoExtractors.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ def _get_available_subtitles(self, video_id):
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):
Expand Down

0 comments on commit c0ba104

Please sign in to comment.