mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-21 20:46:36 -05:00
Fixed small type issue
This commit is contained in:
parent
67dfbc0cb9
commit
5898e28272
1 changed files with 2 additions and 1 deletions
|
@ -492,7 +492,8 @@ def process_info(self, info_dict):
|
|||
# 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
|
||||
|
|
Loading…
Reference in a new issue