Apply suggestions from code review

This commit is contained in:
Bogdan 2023-07-10 19:49:53 +03:00
parent 97ed820575
commit f69a847d9a
1 changed files with 2 additions and 2 deletions

View File

@ -66,8 +66,6 @@ namespace NzbDrone.Core.ImportLists
var importListLocal = importList; var importListLocal = importList;
var importListStatus = _importListStatusService.GetLastSyncListInfo(importListLocal.Definition.Id); var importListStatus = _importListStatusService.GetLastSyncListInfo(importListLocal.Definition.Id);
_logger.ProgressInfo("Syncing Movies for Import List [{0}]: {1}", importList.Name, importListLocal.Definition.Name);
if (importListStatus.HasValue) if (importListStatus.HasValue)
{ {
var importListNextSync = importListStatus.Value + importListLocal.MinRefreshInterval; var importListNextSync = importListStatus.Value + importListLocal.MinRefreshInterval;
@ -79,6 +77,8 @@ namespace NzbDrone.Core.ImportLists
continue; 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); var blockedLists = _importListStatusService.GetBlockedProviders().ToDictionary(v => v.ProviderId, v => v);