Fixed: Failing when definition file isn't in folder yet

This commit is contained in:
Qstick
2020-12-27 22:20:50 -05:00
parent 67d75fcff9
commit 041596df4c
@@ -120,12 +120,8 @@ namespace NzbDrone.Core.IndexerVersions
} }
} }
} }
else
{
return GetHttpDefinition(fileKey);
}
throw new ArgumentOutOfRangeException(nameof(fileKey)); return GetHttpDefinition(fileKey);
} }
public void Execute(IndexerDefinitionUpdateCommand message) public void Execute(IndexerDefinitionUpdateCommand message)