Map seed configuration on release only when it's not null

Fixes #1720
pull/1724/head
Bogdan 2 years ago
parent f5b57db753
commit d05128ca33

@ -62,7 +62,12 @@ namespace NzbDrone.Core.Download
} }
// Get the seed configuration for this release. // Get the seed configuration for this release.
var seedConfiguration = _seedConfigProvider.GetSeedConfiguration(release);
if (seedConfiguration != null)
{
((TorrentInfo)release).SeedConfiguration = _seedConfigProvider.GetSeedConfiguration(release); ((TorrentInfo)release).SeedConfiguration = _seedConfigProvider.GetSeedConfiguration(release);
}
var indexer = _indexerFactory.GetInstance(_indexerFactory.Get(release.IndexerId)); var indexer = _indexerFactory.GetInstance(_indexerFactory.Get(release.IndexerId));

Loading…
Cancel
Save