From f69a847d9a8915e3d61a4105807f73d8e991ac80 Mon Sep 17 00:00:00 2001 From: Bogdan Date: Mon, 10 Jul 2023 19:49:53 +0300 Subject: [PATCH] Apply suggestions from code review --- .../ImportLists/FetchAndParseImportListService.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/NzbDrone.Core/ImportLists/FetchAndParseImportListService.cs b/src/NzbDrone.Core/ImportLists/FetchAndParseImportListService.cs index 77a7617ac..33bc34121 100644 --- a/src/NzbDrone.Core/ImportLists/FetchAndParseImportListService.cs +++ b/src/NzbDrone.Core/ImportLists/FetchAndParseImportListService.cs @@ -66,8 +66,6 @@ namespace NzbDrone.Core.ImportLists var importListLocal = importList; var importListStatus = _importListStatusService.GetLastSyncListInfo(importListLocal.Definition.Id); - _logger.ProgressInfo("Syncing Movies for Import List [{0}]: {1}", importList.Name, importListLocal.Definition.Name); - if (importListStatus.HasValue) { var importListNextSync = importListStatus.Value + importListLocal.MinRefreshInterval; @@ -79,6 +77,8 @@ namespace NzbDrone.Core.ImportLists continue; } } + + _logger.ProgressInfo("Syncing Movies for Import List [{0}]: {1}", importList.Name, importListLocal.Definition.Name); var blockedLists = _importListStatusService.GetBlockedProviders().ToDictionary(v => v.ProviderId, v => v);