lib/linsc/csv_handlers.rb in linsc-0.0.15 vs lib/linsc/csv_handlers.rb in linsc-0.0.16
- old
+ new
@@ -10,10 +10,10 @@
end
CSV::Row.new(headers, values)
end
def append_to_csv(file, row)
- tries = 3
+ tries = 10
begin
f = CSV.open(file, "a+", headers: row.headers, force_quotes: true)
f << row
f.close
rescue