From 7924cf5b343362c3aba06e3639cda650b35957e5 Mon Sep 17 00:00:00 2001 From: Solderpunk Date: Sat, 23 Feb 2019 15:00:40 +0000 Subject: Permit board names to consist of alphanumeric characters, not just letters. --- telem.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/telem.lua b/telem.lua index 8d4a343..cba014b 100755 --- a/telem.lua +++ b/telem.lua @@ -174,7 +174,7 @@ function load_scan_times() local f, err = io.open(scanfile, "r") if f == nil then return end for line in f:lines() do - local _, _, board, scantime = string.find(line, "(%a+):(%d+)") + local _, _, board, scantime = string.find(line, "(%w+):(%d+)") if boards_by_name[board] then boards_by_name[board].last_scanned = tonumber(scantime) end -- cgit v1.2.3