Browse Source

feat: revert toheaders: false

pull/2018/head
natdeanlewissoftwire 3 years ago
parent
commit
ed72b73bcf
  1. 4
      lib/tasks/correct_illness_from_csv.rake

4
lib/tasks/correct_illness_from_csv.rake

@ -22,10 +22,10 @@ namespace :correct_illness do
s3_service = Storage::S3Service.new(PlatformHelper.is_paas? ? Configuration::PaasConfigurationService.new : Configuration::EnvConfigurationService.new, ENV["IMPORT_PAAS_INSTANCE"])
file_io = s3_service.get_file_io(file_name)
file_io.set_encoding_by_bom
illness_csv = CSV.parse(file_io, headers: true)
illness_csv = CSV.parse(file_io, headers: false)
illness_csv.each_with_index do |row, index|
next if index < 2
next if index < 3
lettings_log_id = row[1]

Loading…
Cancel
Save