From d84ffccd38b8117a85865a0cf37c6d89c2381fa7 Mon Sep 17 00:00:00 2001 From: Luca_S Date: Wed, 30 Dec 2020 14:32:28 +0100 Subject: [PATCH] Fix bug in Lua.lua so that the boolean value false is correctly displayed in the output --- sys/apps/Lua.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/apps/Lua.lua b/sys/apps/Lua.lua index 2bcd8e5..9af06fd 100644 --- a/sys/apps/Lua.lua +++ b/sys/apps/Lua.lua @@ -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({ })