No new ordinance shall be construed to repeal a former ordinance as to any offense committed against a former ordinance, nor as to any act done, or penalty, forfeiture, or punishment incurred, or any right accrued or claim arising under the former ordinance, or in any way whatever to affect any such offense or act so committed or done, or any penalty, forfeiture, or punishment so incurred, or any right accrued or claim arising before the new ordinance takes effect, except that the proceedings thereafter had shall conform, so far as practicable, to the laws in force at the time of such proceedings. If any penalty, forfeiture, or punishment is mitigated by any provision of the new ordinance, such provision may, by the consent of the party affected, be applied to any judgment pronounced after the new ordinances takes effect.
(KRS 446.110)