Commit 70d31551 authored by Marek Vavruša's avatar Marek Vavruša

daemon/lua: fixed output printing

parent bf28ef7f
...@@ -141,7 +141,7 @@ function table_print (tt, indent, done) ...@@ -141,7 +141,7 @@ function table_print (tt, indent, done)
if type (value) == "table" and not done [value] then if type (value) == "table" and not done [value] then
done [value] = true done [value] = true
result = result .. string.format("[%s] => {\n", tostring (key)) result = result .. string.format("[%s] => {\n", tostring (key))
table_print (value, indent + 4, done) result = result .. table_print (value, indent + 4, done)
result = result .. string.rep (" ", indent) result = result .. string.rep (" ", indent)
result = result .. "}\n" result = result .. "}\n"
else else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment