Any district superintendent, secretary of the board of school directors, attendance officer, or teacher of any public or private school, or any private teacher, or any principal or teacher in any institution for children, who wilfully refuses or neglects to comply with the provisions of this act, shall be liable for and pay a penalty, for the use of the school district, not exceeding twenty-five dollars ($25) and costs, and, in default of payment thereof, may be committed to the county jail for a period not exceeding thirty (30) days. Such penalty may be recovered by, and in the name of, any school district, as like penalties are now collected by law. Any such superintendent, secretary, attendance officer, or teacher, upon whom a fine is imposed, may, at any time within five (5) days thereafter, appeal to the court of quarter sessions in the proper county, on furnishing proper bail, with one (1) surety, in double the amount of such penalty and costs.
24 P.S. § 13-1355