diff options
author | Solderpunk <solderpunk@sdf.org> | 2019-02-23 15:00:40 +0000 |
---|---|---|
committer | Solderpunk <solderpunk@sdf.org> | 2019-02-23 15:00:40 +0000 |
commit | 7924cf5b343362c3aba06e3639cda650b35957e5 (patch) | |
tree | de7fea3d1c8cc863ffb6c4d344b35e7cf6f58878 | |
parent | Check for problematic characters in board names. (diff) |
Permit board names to consist of alphanumeric characters, not just letters.
-rwxr-xr-x | telem.lua | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |