serialize_lib: Allow empty strings in key

master
orwell96 2021-01-02 21:22:45 +01:00
parent 02d845e83d
commit 19b399a01e
1 changed files with 1 additions and 1 deletions

View File

@ -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.."'!")