When any fine or penalty shall have been provided by the different ordinances or by the different sections of ordinances or code of the village for the same offense, the officer or person prosecuting the same may elect under which ordinance or section of the code to prosecute and not more than one recovery shall be had against the same person for the same offense.
(Prior Code, § 32.06)