Handle empty Episode list during decision maker.

pull/2630/head
Taloth Saldono 7 years ago
parent a5977f2752
commit d1ced600a1

@ -84,6 +84,10 @@ namespace NzbDrone.Core.Parser
{ {
remoteEpisode.Episodes = GetEpisodes(parsedEpisodeInfo, series, true, searchCriteria); remoteEpisode.Episodes = GetEpisodes(parsedEpisodeInfo, series, true, searchCriteria);
} }
else
{
remoteEpisode.Episodes = new List<Episode>();
}
return remoteEpisode; return remoteEpisode;
} }

Loading…
Cancel
Save