Merge pull request #1 from srdgame/patch-1

Convert value to string before escape it
This commit is contained in:
Shakil Thakur 2016-03-29 20:18:02 -05:00
commit ecd954950a

View File

@ -323,6 +323,7 @@ end
-- a function that delimits " to "", used by the writer
local function delimitField(field)
local field = tostring(field)
if field:find('"') then
return field:gsub('"', '""')
else