If the owner of any building which has been condemned as unsafe and dangerous by any local inspector, after being notified by the inspector in writing of the unsafe and dangerous character of such building, shall permit it to stand or continue in that condition, he shall forfeit and pay a fine of not less than five dollars nor more than twenty-five dollars for each day such building continues in such condition after such notice.