mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-10 09:07:58 +01:00
[crunchyroll] Remove NOP code (#2782)
This commit is contained in:
parent
c735450e07
commit
0cc8888038
1 changed files with 0 additions and 2 deletions
|
@ -264,8 +264,6 @@ def _real_extract(self,url):
|
|||
if not lang_code:
|
||||
continue
|
||||
sub_root = xml.etree.ElementTree.fromstring(subtitle)
|
||||
if not sub_root:
|
||||
subtitles[lang_code] = ''
|
||||
if sub_format == 'ass':
|
||||
subtitles[lang_code] = self._convert_subtitles_to_ass(sub_root)
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue