1
0
mirror of https://github.com/kepler155c/opus synced 2024-11-06 00:46:16 +00:00

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

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({ })