Any person, firm or corporation maintaining or attempting to maintain any of the premises mentioned in Sections 35 to 38, inclusive, of this Article, without the payment of the inspection fee therein provided for, or guilty of violating any of the provisions of Sections 35 to 39, inclusive, of this Article, shall be guilty of a misdemeanor, and upon conviction thereof shall be punishable by a fine of not more than $300 or by imprisonment in the County Jail for a term not exceeding three months, or by both such fine and imprisonment.