Thu, 09 Oct 2008 03:21:16 +0500
Minor fix
util/datamanager.lua | file | annotate | diff | comparison | revisions |
--- a/util/datamanager.lua Thu Oct 09 03:01:47 2008 +0500 +++ b/util/datamanager.lua Thu Oct 09 03:21:16 2008 +0500 @@ -5,6 +5,7 @@ local loadfile, setfenv, pcall = loadfile, setfenv, pcall; local log = log; local io_open = io.open; +local tostring = tostring; module "datamanager" @@ -30,7 +31,7 @@ if type(o) == "number" or type(o) == "boolean" then return tostring(o) else -- assume it is a string - return string.format("%q", tostring(o)) + return format("%q", tostring(o)) end end