diff options
author | bashonly <88596187+bashonly@users.noreply.github.com> | 2024-11-17 23:25:05 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-17 23:25:05 +0000 |
commit | da252d9d322af3e2178ac5eae324809502a0a862 (patch) | |
tree | b5fa27f62c979684c64e08bd32c57b7e15c27700 /yt_dlp/extractor/common.py | |
parent | e079ffbda66de150c0a9ebef05e89f61bb4d5f76 (diff) |
[cleanup] Misc (#11554)
Closes #6884
Authored by: bashonly, Grub4K, seproDev
Co-authored-by: Simon Sawicki <contact@grub4k.xyz>
Co-authored-by: sepro <sepro@sepr0.com>
Diffstat (limited to 'yt_dlp/extractor/common.py')
-rw-r--r-- | yt_dlp/extractor/common.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/extractor/common.py b/yt_dlp/extractor/common.py index 2aa40a77a..28a3adf93 100644 --- a/yt_dlp/extractor/common.py +++ b/yt_dlp/extractor/common.py @@ -3767,7 +3767,7 @@ class InfoExtractor: """ Merge subtitle dictionaries, language by language. """ if target is None: target = {} - for d in dicts: + for d in filter(None, dicts): for lang, subs in d.items(): target[lang] = cls._merge_subtitle_items(target.get(lang, []), subs) return target |