The court, in imposing sentence upon an offender convicted of an offense for which no penalty is otherwise provided or if the offense is designated a misdemeanor and no penalty is otherwise provided, may sentence the offender to a term of imprisonment not to exceed 6 months in the county jail or a fine not to exceed $500, or both.
§ 46-18-212, MCA