diff options
Diffstat (limited to 'serialize.lua')
-rw-r--r-- | serialize.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/serialize.lua b/serialize.lua index 436bf18..a525e9e 100644 --- a/serialize.lua +++ b/serialize.lua @@ -88,8 +88,8 @@ function value_to_string(t) elseif type(t)=="string" then return "S"..escape_chars(t) else - file:close() - error("Can not serialize '"..type(t).."' type!") + --error("Can not serialize '"..type(t).."' type!") + return "S<function>" end return str end |