Distinct Jobs

This commit is contained in:
Glax 2025-05-16 21:23:47 +02:00
parent 63fee081e6
commit 4bc70eca68

View File

@ -145,6 +145,7 @@ public static class Tranga
List<Job> jobsWithoutDownloading = List<Job> jobsWithoutDownloading =
jobsWithoutMissingDependencies jobsWithoutMissingDependencies
.Where(j => j.JobType != JobType.DownloadSingleChapterJob) .Where(j => j.JobType != JobType.DownloadSingleChapterJob)
.DistinctBy(j => j.JobType)
.ToList(); .ToList();
List<Job> firstChapterPerConnector = List<Job> firstChapterPerConnector =
jobsWithoutMissingDependencies jobsWithoutMissingDependencies