Unless another penalty is in this chapter or by the laws of this state provided, every person convicted of a misdemeanor for the violation of any provisions of this chapter shall be punished by a fine of not more than five hundred dollars or by imprisonment for not more than six months, or by both such fine and imprisonment.