From e78bc345141f98632d65d0aa27772ccf45ef2ef9 Mon Sep 17 00:00:00 2001 From: Bogdan Date: Wed, 11 Oct 2023 01:20:34 +0300 Subject: [PATCH] Fixed: Fetch import lists without depending on Automatic Add --- src/NzbDrone.Core/ImportLists/ImportListSyncService.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/NzbDrone.Core/ImportLists/ImportListSyncService.cs b/src/NzbDrone.Core/ImportLists/ImportListSyncService.cs index db51adba9..f73d0b7dd 100644 --- a/src/NzbDrone.Core/ImportLists/ImportListSyncService.cs +++ b/src/NzbDrone.Core/ImportLists/ImportListSyncService.cs @@ -43,9 +43,9 @@ public ImportListSyncService(IImportListFactory importListFactory, private void SyncAll() { - if (_importListFactory.Enabled().Where(a => ((ImportListDefinition)a.Definition).EnableAuto).Empty()) + if (_importListFactory.Enabled().Empty()) { - _logger.Debug("No import lists with automatic add enabled, skipping sync and cleaning"); + _logger.Debug("No enabled import lists, skipping sync and cleaning"); return; }