compatibility with older tasks.json
This commit is contained in:
parent
932057cca0
commit
8ff65bf400
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user