projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67dfbc0
)
Fixed small type issue
author
Ismael Mejia
<iemejia@gmail.com>
Wed, 7 Aug 2013 16:48:24 +0000
(18:48 +0200)
committer
Ismael Mejia
<iemejia@gmail.com>
Wed, 7 Aug 2013 16:48:24 +0000
(18:48 +0200)
youtube_dl/YoutubeDL.py
patch
|
blob
|
history
diff --git
a/youtube_dl/YoutubeDL.py
b/youtube_dl/YoutubeDL.py
index e69d844b8a6c47188cb3a26cbdb63b004c770828..beed79fd042b756f995867c5814797005974a4da 100644
(file)
--- 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