For any violation of duty by the mine inspector prescribed by this act, he shall be deemed guilty of a misdemeanor and, upon conviction, be sentenced to pay a fine of not more than three hundred dollars ($300) or be imprisoned for a period not exceeding three months or either, or both, at the discretion of the court.
52 P.S. § 70-1305