mirror of https://github.com/Radarr/Radarr
Apply suggestions from code review
This commit is contained in:
parent
97ed820575
commit
f69a847d9a
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue