Any person so offending, after conviction thereof once had, shall be punished by fine in not less than $20 and not exceeding $1,000, or by imprisonment in the custody of the secretary of corrections for not exceeding one year, in the discretion of the court wherein such conviction shall be had.
K.S.A. 42-396