Any person who shall violate the provisions of this section shall be guilty of a misdemeanor, and, upon conviction for the first offense thereof, shall be fined not more than one hundred dollars, or imprisoned in the county jail not more than thirty days, or both such fine and imprisonment. Upon a second or subsequent conviction, any such person shall be fined not more than five hundred dollars, or imprisoned in the county jail not more than one year, or both such fine and imprisonment.