Any person, firm or corporation who shall operate a hotel or a restaurant in this state, or who shall let a building to be used for such purposes, without first having complied with the provisions of this article, shall be guilty of a misdemeanor and, upon conviction thereof, shall be fined $5 for each day such failure to comply shall continue.