From d477cd1ccd30a6404dfcfbaac9c5b434386d8fcd Mon Sep 17 00:00:00 2001 From: glax Date: Wed, 31 May 2023 21:42:23 +0200 Subject: [PATCH] corrected check for tasktype on due --- Tranga/TaskManager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tranga/TaskManager.cs b/Tranga/TaskManager.cs index 9eab790..81e7ada 100644 --- a/Tranga/TaskManager.cs +++ b/Tranga/TaskManager.cs @@ -95,7 +95,7 @@ public class TaskManager foreach (TrangaTask task in _allTasks.Where(aTask => aTask.ShouldExecute())) { task.state = TrangaTask.ExecutionState.Enqueued; - if(task.connectorName is null) + if(task.task == TrangaTask.Task.UpdateKomgaLibrary) ExecuteTaskNow(task); else {