mirror of
https://github.com/yt-dlp/yt-dlp
synced 2025-12-18 15:15:42 +07:00
[crunchyroll] Remove NOP code (#2782)
This commit is contained in:
@@ -264,8 +264,6 @@ def _real_extract(self,url):
|
|||||||
if not lang_code:
|
if not lang_code:
|
||||||
continue
|
continue
|
||||||
sub_root = xml.etree.ElementTree.fromstring(subtitle)
|
sub_root = xml.etree.ElementTree.fromstring(subtitle)
|
||||||
if not sub_root:
|
|
||||||
subtitles[lang_code] = ''
|
|
||||||
if sub_format == 'ass':
|
if sub_format == 'ass':
|
||||||
subtitles[lang_code] = self._convert_subtitles_to_ass(sub_root)
|
subtitles[lang_code] = self._convert_subtitles_to_ass(sub_root)
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user