. "(c) The offense is created by an ordinance of a county, city, district or other political subdivision of this state with authority to create offenses, and the ordinance provides that violation of the ordinance is punishable by a fine but does not provide that the offense is punishable by a term of imprisonment." . . . .