add_field function in DoAttend.update_reg_info() had a 'return' statement at the beginning, probably left there while debugging. Removed it.
Open the CSV files in Universal newline mode.