Do not parse -2 chapter number

This commit is contained in:
len 2016-05-26 15:46:58 +02:00
parent 79ec4faddb
commit 12d6919421

View file

@ -35,7 +35,7 @@ object ChapterRecognition {
fun parseChapterNumber(chapter: Chapter, manga: Manga) { fun parseChapterNumber(chapter: Chapter, manga: Manga) {
// If chapter number is known return. // If chapter number is known return.
if (chapter.chapter_number != -1f) if (chapter.chapter_number == -2f || chapter.chapter_number > -1f)
return return
// Get chapter title with lower case // Get chapter title with lower case