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

pull/6/head
Qstick 4 years ago
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)

Loading…
Cancel
Save