mirror of
https://github.com/C9Glax/tranga-website.git
synced 2025-07-02 08:54:17 +02:00
Fixed bug when adding task, that Publication was not added to known publications.
Fixed issue, that chapters would be re-downloaded
This commit is contained in:
@ -44,6 +44,8 @@ public class TaskManager
|
||||
if (!_allTasks.Any(trangaTask => trangaTask.task != task && trangaTask.connectorName != connector.name &&
|
||||
trangaTask.publication?.downloadUrl != publication?.downloadUrl))
|
||||
{
|
||||
if(task != TrangaTask.Task.UpdatePublications)
|
||||
_chapterCollection.Add((Publication)publication!, new List<Chapter>());
|
||||
_allTasks.Add(new TrangaTask(connector.name, task, publication, reoccurrence, language));
|
||||
ExportTasks(Directory.GetCurrentDirectory());
|
||||
}
|
||||
|
Reference in New Issue
Block a user