mirror of https://github.com/kepler155c/opus
Fix bug in Lua.lua so that the boolean value false is correctly displayed in the output
This commit is contained in:
parent
5488a7d732
commit
d84ffccd38
|
@ -348,7 +348,7 @@ function page:executeStatement(statement)
|
||||||
term.redirect(oterm)
|
term.redirect(oterm)
|
||||||
counter = counter + 1
|
counter = counter + 1
|
||||||
|
|
||||||
if s and m then
|
if s and type(m) ~= "nil" then
|
||||||
self:setResult(m)
|
self:setResult(m)
|
||||||
else
|
else
|
||||||
self.grid:setValues({ })
|
self.grid:setValues({ })
|
||||||
|
|
Loading…
Reference in New Issue