Any person voting at any election of said city who is not a qualified voter according to the provisions of this charter, shall be guilty of a misdemeanor, and upon conviction therefor shall be punished as prescribed in the penal code of this state.