Fix abmetadata chapter parser

This commit is contained in:
advplyr 2022-04-13 07:57:21 -05:00
parent 5b02c5185f
commit 88354de495

View File

@ -214,7 +214,7 @@ function parseChapterLines(lines) {
}
})
if (chapter.start === null || chapter.end === null || chapter.end > chapter.start) {
if (chapter.start === null || chapter.end === null || chapter.end < chapter.start) {
Logger.warn(`[abmetadataGenerator] Invalid chapter`)
return null
}