]> Raphaƫl G. Git Repositories - youtubedl/blobdiff - youtube_dl/extractor/frontendmasters.py
d/rules: Drop makefile mangling
[youtubedl] / youtube_dl / extractor / frontendmasters.py
index cb57ba007fd61683630ea6cf2dd2d4d15d01ecc4..f1db33fb161f13d2b2fe6e09d327c04247444945 100644 (file)
@@ -94,8 +94,8 @@ class FrontendMastersPageBaseIE(FrontendMastersBaseIE):
         chapter_number = None
         index = lesson.get('index')
         element_index = lesson.get('elementIndex')
         chapter_number = None
         index = lesson.get('index')
         element_index = lesson.get('elementIndex')
-        if (isinstance(index, int) and isinstance(element_index, int) and
-                index < element_index):
+        if (isinstance(index, int) and isinstance(element_index, int)
+                and index < element_index):
             chapter_number = element_index - index
         chapter = (chapters[chapter_number - 1]
                    if chapter_number - 1 < len(chapters) else None)
             chapter_number = element_index - index
         chapter = (chapters[chapter_number - 1]
                    if chapter_number - 1 < len(chapters) else None)