1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-12-27 08:47:55 +01:00

Fixed small type issue

This commit is contained in:
Ismael Mejia 2013-08-07 18:48:24 +02:00
parent 67dfbc0cb9
commit 5898e28272

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