mirror of
https://github.com/C9Glax/tranga-website.git
synced 2025-06-12 23:07:54 +02:00
Set ExecutionState to waiting after finished
This commit is contained in:
@ -24,6 +24,8 @@ public class DownloadNewChaptersTask : TrangaTask
|
||||
|
||||
foreach(Chapter newChapter in newChapters)
|
||||
connector.DownloadChapter(pub, newChapter);
|
||||
|
||||
this.state = ExecutionState.Waiting;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
@ -16,5 +16,6 @@ public class UpdateKomgaLibraryTask : TrangaTask
|
||||
Komga.KomgaLibrary[] allLibraries = komga.GetLibraries();
|
||||
foreach (Komga.KomgaLibrary lib in allLibraries)
|
||||
komga.UpdateLibrary(lib.id);
|
||||
this.state = ExecutionState.Waiting;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user