Any willful or malicious repetition of any offence or violation of any ordinance, after having been convicted of violating the same, shall subject the offender to a double penalty but in any one case not to exceed two hundred and fifty dollars.