Fixed: Fetch import lists without depending on Automatic Add

This commit is contained in:
Bogdan 2023-10-11 01:20:34 +03:00
parent 35c4538288
commit e78bc34514
1 changed files with 2 additions and 2 deletions

View File

@ -43,9 +43,9 @@ namespace NzbDrone.Core.ImportLists
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;
}