No city shall enact any ordinance in conflict with or contrary to the provisions of this act and any ordinance of any city in effect at the time this act takes effect or thereafter enacted which is in conflict with or contrary to the provisions of this act shall be null and void. Nothing contained in this section shall be construed as preventing any city from enacting ordinances declaring acts prohibited or made unlawful by this act as unlawful or prohibited in such city and prescribing penalties for violations thereof, but the minimum penalty in any such ordinance shall not exceed the minimum penalty prescribed by this act for the same violation, nor shall the maximum penalty in any such ordinance exceed the maximum penalty prescribed by this act for the same violation.
K.S.A. 41-2631