mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-01-07 17:16:08 +00:00
Undo the previous commit (it was a mistake)
This commit is contained in:
parent
953e32b2c1
commit
372297e713
|
@ -493,7 +493,7 @@ class YoutubeDL(object):
|
|||
subtitles = info_dict['subtitles']
|
||||
sub_format = self.params.get('subtitlesformat')
|
||||
|
||||
for sub_lang in subtitles:
|
||||
for sub_lang in subtitles.keys():
|
||||
sub = subtitles[sub_lang]
|
||||
if sub is None:
|
||||
continue
|
||||
|
|
Loading…
Reference in a new issue