Срочный багфикс

This commit is contained in:
Igor Timofeev 2017-09-04 21:54:41 +03:00
parent e09ff425af
commit 1ef787ecd7
2 changed files with 2 additions and 2 deletions

View File

@ -230,7 +230,7 @@
url="https://raw.githubusercontent.com/IgorTimofeev/OpenComputers/master/lib/advancedLua.lua",
type="Library",
preloadFile=true,
version=1.17,
version=1.18,
},
{
path="/lib/web.lua",

View File

@ -275,7 +275,7 @@ local function doSerialize(array, prettyLook, indentationSymbol, indentationSymb
table.insert(text, key)
table.insert(text, "]")
elseif keyType == "string" then
if key:match("^%a") and key:match("%w+") then
if key:match("^%a") and key:match("^%w+$") then
table.insert(text, key)
else
table.insert(text, "[\"")