projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c735450
)
[crunchyroll] Remove NOP code (#2782)
author
Philipp Hagemeister
<phihag@phihag.de>
Fri, 14 Nov 2014 23:34:03 +0000
(
00:34
+0100)
committer
Philipp Hagemeister
<phihag@phihag.de>
Fri, 14 Nov 2014 23:34:03 +0000
(
00:34
+0100)
youtube_dl/extractor/crunchyroll.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/crunchyroll.py
b/youtube_dl/extractor/crunchyroll.py
index 0bd0eccba8405ada41f948755d6b2f540cc098e1..fe1324fe3cc047b87e605d2724e3bab015b3ed28 100644
(file)
--- a/
youtube_dl/extractor/crunchyroll.py
+++ b/
youtube_dl/extractor/crunchyroll.py
@@
-264,8
+264,6
@@
Format: Layer, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text
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: