Avoid queue failures due to unknown release language processing

pull/8424/head
Qstick 2 years ago
parent bf3e23cc3b
commit 1336743aca

@ -31,7 +31,7 @@ namespace NzbDrone.Core.Download.Aggregation.Aggregators
{ {
_logger.Debug("Unable to aggregate languages, using parsed values: {0}", string.Join(", ", languages.ToList())); _logger.Debug("Unable to aggregate languages, using parsed values: {0}", string.Join(", ", languages.ToList()));
remoteMovie.Languages = releaseInfo.Languages.Any() ? releaseInfo.Languages : languages; remoteMovie.Languages = releaseInfo?.Languages.Any() ?? false ? releaseInfo.Languages : languages;
return remoteMovie; return remoteMovie;
} }

Loading…
Cancel
Save