From e188c9aac0395c3ea6c7b8ede824799bcb6b6784 Mon Sep 17 00:00:00 2001 From: Bogdan Date: Thu, 19 Oct 2023 17:35:23 +0300 Subject: [PATCH] Don't die when trying to open file with nullable path Closes #3012 --- src/NzbDrone.Core/Books/Calibre/CalibreProxy.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NzbDrone.Core/Books/Calibre/CalibreProxy.cs b/src/NzbDrone.Core/Books/Calibre/CalibreProxy.cs index 421d0c7e7..1763f53a8 100644 --- a/src/NzbDrone.Core/Books/Calibre/CalibreProxy.cs +++ b/src/NzbDrone.Core/Books/Calibre/CalibreProxy.cs @@ -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;