Merge pull request #46 from VanessaE/master

Fix previous commit
This commit is contained in:
VanessaE 2012-09-01 14:44:40 -07:00
commit 544dfb9e0b

View File

@ -426,7 +426,11 @@ function yc_command_after_execute(params)
if yc_parsecode(params.code, params.pos) == nil then if yc_parsecode(params.code, params.pos) == nil then
meta:set_string("infotext", "Code in after() not valid!") meta:set_string("infotext", "Code in after() not valid!")
else else
if code ~= nil then
meta:set_string("infotext", "Working Microcontroller\n"..code) meta:set_string("infotext", "Working Microcontroller\n"..code)
else
meta:set_string("infotext", "Working Microcontroller")
end
end end
end end
end end