aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIsmael Mejia <iemejia@gmail.com>2013-08-07 18:48:24 +0200
committerIsmael Mejia <iemejia@gmail.com>2013-08-07 18:48:24 +0200
commit5898e282726bc2f54fc52fe425c389226e31a797 (patch)
tree1b2739a8ceea3ff37e9c056023bc587e7ff4963c
parent67dfbc0cb92a19eda2981528b1456bdc0e3cb805 (diff)
Fixed small type issue
-rw-r--r--youtube_dl/YoutubeDL.py3
1 files changed, 2 insertions, 1 deletions
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