The effect would be to hopefully have the election rescheduled. In this case actually catching the people isn't necessary to make the attack useless because the final goal is to compromise the election which can be prevented without trying to break the ransomware or find the perpetrators at all which is why reporting it to the police usually does nothing. Also the stakes are a lot higher than the usual ransomware so unless the government itself is trying to break the election the police have a much large incentive to get involved.