mirror of
https://github.com/C9Glax/tranga.git
synced 2025-06-15 15:57:54 +02:00
Add Manga from Jobs to cachedManga
This commit is contained in:
@ -14,6 +14,8 @@ public class JobBoss : GlobalBase
|
||||
this.jobs = JsonConvert.DeserializeObject<HashSet<Job>>(File.ReadAllText(settings.jobsFilePath), new JobJsonConverter(this, new MangaConnectorJsonConverter(this, connectors)))!;
|
||||
else
|
||||
this.jobs = new();
|
||||
foreach (DownloadNewChapters ncJob in this.jobs.Where(job => job is DownloadNewChapters))
|
||||
cachedPublications.Add(ncJob.manga);
|
||||
this.mangaConnectorJobQueue = new();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user