Every convict sentenced to imprisonment in the county jail, or to such imprisonment and the payment of a fine, or the payment of a fine, shall be committed to jail, and shall remain in close confinement for the full time specified for imprisonment in the sentence of the court, and in like confinement, subject to the provisions of Section 99-19-20.1, until the fine, costs and jail fees be fully paid, unless discharged in due course of law, or as hereinafter provided. Subject to the provisions of Section 99-19-20.1, no convict shall be held in continuous confinement under a conviction for any one (1) offense for failure to pay fine and costs in such case for a period of more than one (1) year.