mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-10-30 22:07:57 +01:00 
			
		
		
		
	Do not parse -2 chapter number
This commit is contained in:
		| @@ -34,8 +34,8 @@ object ChapterRecognition { | ||||
|     private val unwantedWhiteSpace = Regex("""(\s)(extra|special|omake)""") | ||||
|  | ||||
|     fun parseChapterNumber(chapter: Chapter, manga: Manga) { | ||||
|         //If chapter number is known return. | ||||
|         if (chapter.chapter_number != -1f) | ||||
|         // If chapter number is known return. | ||||
|         if (chapter.chapter_number == -2f || chapter.chapter_number > -1f) | ||||
|             return | ||||
|  | ||||
|         // Get chapter title with lower case | ||||
|   | ||||
		Reference in New Issue
	
	Block a user