aboutsummaryrefslogtreecommitdiff
path: root/serialize_lib
diff options
context:
space:
mode:
Diffstat (limited to 'serialize_lib')
-rw-r--r--serialize_lib/serialize.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/serialize_lib/serialize.lua b/serialize_lib/serialize.lua
index 2d7c3a0..436bf18 100644
--- a/serialize_lib/serialize.lua
+++ b/serialize_lib/serialize.lua
@@ -118,7 +118,7 @@ function read_table(t, file)
-- done with this table
return
end
- ks, vs = string.match(line, "^(.+[^&]):(.+)$")
+ ks, vs = string.match(line, "^(.*[^&]):(.+)$")
if not ks or not vs then
file:close()
error("Unable to parse line: '"..line.."'!")