mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-11 11:40:47 +01:00
Do not parse -2 chapter number
This commit is contained in:
parent
79ec4faddb
commit
12d6919421
1 changed files with 2 additions and 2 deletions
|
@ -34,8 +34,8 @@ object ChapterRecognition {
|
||||||
private val unwantedWhiteSpace = Regex("""(\s)(extra|special|omake)""")
|
private val unwantedWhiteSpace = Regex("""(\s)(extra|special|omake)""")
|
||||||
|
|
||||||
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
|
||||||
|
|
Loading…
Reference in a new issue