A person who is condemned to pay a penalty under this Act may be sentenced, in default of payment to imprisonment for any term not exceeding the term specified in a like case in the scale of imprisonment in default of payment of fines and penalties in force in the district courts unless a different term is otherwise provided.