Fix bug in Lua.lua so that the boolean value false is correctly displayed in the output

This commit is contained in:
Luca_S 2020-12-30 14:32:28 +01:00
parent 5488a7d732
commit d84ffccd38
1 changed files with 1 additions and 1 deletions

View File

@ -348,7 +348,7 @@ function page:executeStatement(statement)
term.redirect(oterm)
counter = counter + 1
if s and m then
if s and type(m) ~= "nil" then
self:setResult(m)
else
self.grid:setValues({ })