1
0
Fork 0
mirror of https://gitlab.com/dstftw/youtube-dl.git synced 2020-11-16 09:42:26 +00:00

Undo the previous commit (it was a mistake)

This commit is contained in:
Ismael Mejia 2013-08-07 21:24:42 +02:00
parent 953e32b2c1
commit 372297e713

View file

@ -493,7 +493,7 @@ class YoutubeDL(object):
subtitles = info_dict['subtitles'] subtitles = info_dict['subtitles']
sub_format = self.params.get('subtitlesformat') sub_format = self.params.get('subtitlesformat')
for sub_lang in subtitles: for sub_lang in subtitles.keys():
sub = subtitles[sub_lang] sub = subtitles[sub_lang]
if sub is None: if sub is None:
continue continue