Section 35. Penalties.
   Any person who (a) fails to perform any duty required of him under the provisions of the subtitle or any ordinances passed thereunder, or (b) willfully or corruptly does anything which will or will tend to affect fraudulently and registration, nomination, or town election, shall be deemed guilty of a misdemeanor. Any officer or employee of the town government who is convicted of a misdemeanor under the provisions of this section shall immediately upon conviction thereof cease to hold such office or employment.