mirror of
https://github.com/C9Glax/tranga-website.git
synced 2025-01-30 16:37:29 +01:00
Fix wrong cast
This commit is contained in:
parent
0383a7d686
commit
0522fa6215
@ -95,7 +95,7 @@ public class TaskManager
|
|||||||
case TrangaTask.Task.DownloadNewChapters:
|
case TrangaTask.Task.DownloadNewChapters:
|
||||||
if (!_allTasks.Any(taskQuery => taskQuery.task == TrangaTask.Task.DownloadNewChapters &&
|
if (!_allTasks.Any(taskQuery => taskQuery.task == TrangaTask.Task.DownloadNewChapters &&
|
||||||
taskQuery.state is TrangaTask.ExecutionState.Running &&
|
taskQuery.state is TrangaTask.ExecutionState.Running &&
|
||||||
((DownloadChapterTask)taskQuery).connectorName == ((DownloadNewChaptersTask)task).connectorName))
|
((DownloadNewChaptersTask)taskQuery).connectorName == ((DownloadNewChaptersTask)task).connectorName))
|
||||||
{
|
{
|
||||||
ExecuteTaskNow(task);
|
ExecuteTaskNow(task);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user