From 94ef3ea88f5967b65e280b8d2214f7cce747f940 Mon Sep 17 00:00:00 2001 From: Qstick Date: Sun, 6 Feb 2022 16:11:42 -0500 Subject: [PATCH] Go to http if def exists on def server --- .../IndexerVersions/IndexerDefinitionUpdateService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NzbDrone.Core/IndexerVersions/IndexerDefinitionUpdateService.cs b/src/NzbDrone.Core/IndexerVersions/IndexerDefinitionUpdateService.cs index df55b502c..a84cdec05 100644 --- a/src/NzbDrone.Core/IndexerVersions/IndexerDefinitionUpdateService.cs +++ b/src/NzbDrone.Core/IndexerVersions/IndexerDefinitionUpdateService.cs @@ -204,7 +204,7 @@ namespace NzbDrone.Core.IndexerVersions var dbDefs = _versionService.All(); //Check to ensure it's in versioned defs before we go to web - if (dbDefs.Count > 0 && dbDefs.Any(x => x.File == fileKey)) + if (dbDefs.Count > 0 && !dbDefs.Any(x => x.File == fileKey)) { throw new ArgumentNullException(nameof(fileKey)); }