From bd50b1dc29b5af66cc7a6b5dc59d4b6c234e2554 Mon Sep 17 00:00:00 2001 From: Solderpunk Date: Sat, 8 Dec 2018 14:57:42 +0000 Subject: Don't duplicate boards when updating list. --- telem.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'telem.lua') diff --git a/telem.lua b/telem.lua index 47bdd05..3aa6d30 100755 --- a/telem.lua +++ b/telem.lua @@ -43,7 +43,7 @@ end function update_boards() for board in lfs.dir(path.join(_BBS_ROOT, "boards")) do - if string.sub(board, 1, 1) ~= "." then + if string.sub(board, 1, 1) ~= "." and not boards[board] then boards[board] = true table.insert(board_names, board) end -- cgit v1.2.3