Răsfoiți Sursa

Fixed small type issue

Ismael Mejia 12 ani în urmă
părinte
comite
5898e28272
1 a modificat fișierele cu 2 adăugiri și 1 ștergeri
  1. 2 1
      youtube_dl/YoutubeDL.py

+ 2 - 1
youtube_dl/YoutubeDL.py

@@ -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