diff options
author | Solderpunk <solderpunk@sdf.org> | 2018-12-08 14:57:42 +0000 |
---|---|---|
committer | Solderpunk <solderpunk@sdf.org> | 2018-12-08 14:57:42 +0000 |
commit | bd50b1dc29b5af66cc7a6b5dc59d4b6c234e2554 (patch) | |
tree | 3b061e594f9733c91b0cfa7cf59f5d4c81671900 | |
parent | General tidy up. (diff) |
Don't duplicate boards when updating list.
-rwxr-xr-x | telem.lua | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |