This act shall not authorize the governing body of any such city to contract with any person, firm or corporation to supply electric energy to the municipal light plant, and the making of any such contract is hereby prohibited: Provided, however, That in the event the municipal light plant is temporarily or partially disabled due to an act of God or the breaking of machinery or equipment, the governing body of such city may contract for a supply of electric energy during, but not to exceed, the time necessary to make repairs to remove such temporary or partial disability.
K.S.A. 13-1237