From: Ismael Mejia Date: Wed, 7 Aug 2013 16:48:24 +0000 (+0200) Subject: Fixed small type issue X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=5898e282726bc2f54fc52fe425c389226e31a797;p=youtube-dl Fixed small type issue --- diff --git a/youtube_dl/YoutubeDL.py b/youtube_dl/YoutubeDL.py index e69d844b8..beed79fd0 100644 --- a/youtube_dl/YoutubeDL.py +++ b/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