1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-04-17 21:26:22 -04:00

Fixed: Error when valid movie file id is around, but movie file is not loaded.

This commit is contained in:
Leonardo Galli
2018-08-16 21:37:17 +02:00
parent 2cfc77abc3
commit 3d1cbd1613

View File

@@ -19,7 +19,7 @@ namespace NzbDrone.Core.MediaFiles.MovieImport.Specifications
{
var movieFile = localMovie.Movie.MovieFile;
if (localMovie.Movie.MovieFileId == 0)
if (localMovie.Movie.MovieFileId == 0 || movieFile == null)
{
_logger.Debug("No existing movie file, skipping");
return Decision.Accept();