Any person violating any provision of the fire prevention code shall be punished as provided in section 1-8 of the Code of Ordinances.