[crunchyroll] Remove NOP code (#2782)
authorPhilipp Hagemeister <phihag@phihag.de>
Fri, 14 Nov 2014 23:34:03 +0000 (00:34 +0100)
committerPhilipp Hagemeister <phihag@phihag.de>
Fri, 14 Nov 2014 23:34:03 +0000 (00:34 +0100)
youtube_dl/extractor/crunchyroll.py

index 0bd0eccba8405ada41f948755d6b2f540cc098e1..fe1324fe3cc047b87e605d2724e3bab015b3ed28 100644 (file)
@@ -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: