diff options
author | Ismael Mejia <iemejia@gmail.com> | 2013-08-07 21:24:42 +0200 |
---|---|---|
committer | Ismael Mejia <iemejia@gmail.com> | 2013-08-07 21:24:42 +0200 |
commit | 372297e713c92489c113bf8649ec4aa1d23511f9 (patch) | |
tree | f0186647635515540035ade663fc2666d6906209 /youtube_dl | |
parent | 953e32b2c1be077e65bba844010a5a2707af2e2b (diff) |
Undo the previous commit (it was a mistake)
Diffstat (limited to 'youtube_dl')
-rw-r--r-- | youtube_dl/YoutubeDL.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/YoutubeDL.py b/youtube_dl/YoutubeDL.py index beed79fd0..ed5492826 100644 --- a/youtube_dl/YoutubeDL.py +++ b/youtube_dl/YoutubeDL.py @@ -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 |