corrected check for tasktype on due
This commit is contained in:
parent
f892db7dda
commit
d477cd1ccd
@ -95,7 +95,7 @@ public class TaskManager
|
|||||||
foreach (TrangaTask task in _allTasks.Where(aTask => aTask.ShouldExecute()))
|
foreach (TrangaTask task in _allTasks.Where(aTask => aTask.ShouldExecute()))
|
||||||
{
|
{
|
||||||
task.state = TrangaTask.ExecutionState.Enqueued;
|
task.state = TrangaTask.ExecutionState.Enqueued;
|
||||||
if(task.connectorName is null)
|
if(task.task == TrangaTask.Task.UpdateKomgaLibrary)
|
||||||
ExecuteTaskNow(task);
|
ExecuteTaskNow(task);
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user