mirror of
https://github.com/IgorTimofeev/MineOS.git
synced 2026-01-11 05:32:38 +01:00
Срочный багфикс
This commit is contained in:
parent
e09ff425af
commit
1ef787ecd7
@ -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",
|
||||
|
||||
@ -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, "[\"")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user