mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
Fixed: Don't mark releases as imported unless at least one file is imported
This commit is contained in:
@@ -62,10 +62,10 @@ namespace NzbDrone.Core.Parser
|
||||
|
||||
var episodes = GetEpisodes(parsedEpisodeInfo, series, sceneSource);
|
||||
|
||||
if (!episodes.Any())
|
||||
if (episodes.Empty())
|
||||
{
|
||||
_logger.Debug("No matching episodes found for: {0}", parsedEpisodeInfo);
|
||||
return null;
|
||||
throw new EpisodeNotFoundException("Unable to find episodes for file: {0}", parsedEpisodeInfo);
|
||||
}
|
||||
|
||||
return new LocalEpisode
|
||||
|
Reference in New Issue
Block a user