compatibility with older tasks.json

This commit is contained in:
glax 2023-05-31 22:26:53 +02:00
parent 932057cca0
commit 8ff65bf400

View File

@ -48,10 +48,10 @@ public abstract class TrangaTask
return DateTime.Now.Subtract(this.lastExecuted) > reoccurrence && state is ExecutionState.Waiting;
}
public enum Task
public enum Task : byte
{
DownloadNewChapters,
UpdateKomgaLibrary
DownloadNewChapters = 2,
UpdateKomgaLibrary = 3
}
public override string ToString()