Any person convicted of a misdemeanor under this article shall be punished by a fine of not more than one hundred dollars or by imprisonment in the county jail for not more than thirty days or by both such fine and imprisonment, in the discretion of the court.