mirror of https://github.com/Radarr/Radarr
Fixed: Error when valid movie file id is around, but movie file is not loaded.
This commit is contained in:
parent
2cfc77abc3
commit
3d1cbd1613
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue