fix: boolean value false is now correctly displayed in Lua.lua (#51)

This commit is contained in:
Luca 2020-12-31 03:49:51 +01:00 committed by GitHub
parent 5488a7d732
commit 2ff4ee5670
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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({ })