Don't die when trying to open file with nullable path

Closes #3012
pull/2998/head v0.3.9.2272
Bogdan 7 months ago
parent a3ae2359f5
commit e188c9aac0

@ -275,7 +275,7 @@ namespace NzbDrone.Core.Books.Calibre
var updatedPath = GetOriginalFormat(updated.Formats);
if (updatedPath != file.Path)
if (updatedPath != null && updatedPath != file.Path)
{
_rootFolderWatchingService.ReportFileSystemChangeBeginning(updatedPath);
file.Path = updatedPath;

Loading…
Cancel
Save