Browse Source

Fixed small type issue

rtmp_test
Ismael Mejia 12 years ago
parent
commit
5898e28272
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      youtube_dl/YoutubeDL.py

+ 2
- 1
youtube_dl/YoutubeDL.py View File

@ -492,7 +492,8 @@ class YoutubeDL(object):
# that way it will silently go on when used with unsupporting IE
subtitles = info_dict['subtitles']
sub_format = self.params.get('subtitlesformat')
for sub_lang in subtitles.keys():
for sub_lang in subtitles:
sub = subtitles[sub_lang]
if sub is None:
continue


Loading…
Cancel
Save