Fixed small type issue
authorIsmael Mejia <iemejia@gmail.com>
Wed, 7 Aug 2013 16:48:24 +0000 (18:48 +0200)
committerIsmael Mejia <iemejia@gmail.com>
Wed, 7 Aug 2013 16:48:24 +0000 (18:48 +0200)
youtube_dl/YoutubeDL.py

index e69d844b8a6c47188cb3a26cbdb63b004c770828..beed79fd042b756f995867c5814797005974a4da 100644 (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