Make ChapterRecognition return the result (#7279)

This commit is contained in:
AntsyLich
2022-06-10 19:26:56 +06:00
committed by GitHub
parent cf48bbc176
commit 06fdfcdb23
4 changed files with 106 additions and 135 deletions

View File

@@ -193,7 +193,7 @@ class LocalSource(
}
date_upload = chapterFile.lastModified()
ChapterRecognition.parseChapterNumber(this, sManga)
chapter_number = ChapterRecognition.parseChapterNumber(sManga.title, this.name, this.chapter_number)
val format = getFormat(chapterFile)
if (format is Format.Epub) {