[cuttingedge] fix: Change condition for newChapters. Should solve #323

This commit is contained in:
Alessandro Benetton 2025-01-24 21:52:52 +01:00
parent 280d715a7c
commit 7921dcb1cb
No known key found for this signature in database
GPG Key ID: ED63A304CE2C0303

View File

@ -60,7 +60,7 @@ public abstract class MangaConnector : GlobalBase
return Array.Empty<Chapter>();
Log($"Checking for duplicates {manga}");
List<Chapter> newChaptersList = allChapters.Where(nChapter => nChapter.chapterNumber > manga.ignoreChaptersBelow
List<Chapter> newChaptersList = allChapters.Where(nChapter => nChapter.chapterNumber >= manga.ignoreChaptersBelow
&& !nChapter.CheckChapterIsDownloaded()).ToList();
Log($"{newChaptersList.Count} new chapters. {manga}");
try