FIX don't puke if file not present
This commit is contained in:
parent
3436a7f1da
commit
a3f49433a3
|
@ -39,7 +39,7 @@ return function(main_state, config, common, width, point)
|
||||||
local update = function()
|
local update = function()
|
||||||
if main_state.trigger10 == 0 then
|
if main_state.trigger10 == 0 then
|
||||||
local status = i_o.read_file(SEAF_FILE)
|
local status = i_o.read_file(SEAF_FILE)
|
||||||
common.text_row_set(obj, status)
|
common.text_row_set(obj, status or 'N/A')
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
return common.mk_acc(
|
return common.mk_acc(
|
||||||
|
|
Loading…
Reference in New Issue