whoops, there was a doubled-up unprotected call to column_map.transform in there

This commit is contained in:
Geoff Leyland 2014-06-17 15:10:37 +12:00
parent 0ebafce1f7
commit 8eb59774ee

View File

@ -337,7 +337,6 @@ local function separated_values_iterator(buffer, parameters)
-- Insert the value into the table for this "line" -- Insert the value into the table for this "line"
local key local key
if parameters.column_map and header_read then if parameters.column_map and header_read then
parameters.column_map:transform(value, field_count)
local ok local ok
ok, value, key = pcall(parameters.column_map.transform, ok, value, key = pcall(parameters.column_map.transform,
parameters.column_map, value, field_count) parameters.column_map, value, field_count)