Any banker, officer, employee, director or agent of any state bank who shall knowingly or wilfully neglect to perform any duty required by law, where no other penalty is provided or who shall fail to conform to any lawful requirement made by the department of bank supervision shall be guilty of a misdemeanor and upon conviction thereof shall be punished by a fine not to exceed $500.00 or by imprisonment in the county jail not to exceed six months, or by both such fine and imprisonment. And each officer or employee of the department of bank supervision who shall wilfully fail to perform any duty required by law, where no other penalty is prescribed, shall be guilty of a misdemeanor and on conviction thereof shall be punished by a fine not to exceed $500.00 or by imprisonment in the county jail not to exceed six months, or by both such fine and imprisonment.