diff options
author | Jo-Philipp Wich <jo@mein.io> | 2020-02-14 10:06:50 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2020-02-14 10:06:50 +0100 |
commit | 108b78525a37c8bb424b66b10d36f1676d2bab8a (patch) | |
tree | 258c00a564f3b90ebde777c94c3bdd2eedd7c3ec /applications/luci-app-statistics/root | |
parent | 9ae1f478960f9587e8123e61e1a2221e866da26b (diff) |
luci-app-statistics: stat-genconfig: handle RRATimespans in list notation
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'applications/luci-app-statistics/root')
-rwxr-xr-x | applications/luci-app-statistics/root/usr/bin/stat-genconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/luci-app-statistics/root/usr/bin/stat-genconfig b/applications/luci-app-statistics/root/usr/bin/stat-genconfig index 8b14c29e5..152e584da 100755 --- a/applications/luci-app-statistics/root/usr/bin/stat-genconfig +++ b/applications/luci-app-statistics/root/usr/bin/stat-genconfig @@ -302,7 +302,7 @@ end preprocess = { RRATimespans = function(val) local rv = { } - for time in val:gmatch("[^%s]+") do + for time in luci.util.imatch(val) do table.insert( rv, luci.util.parse_units(time) ) end return table.concat(rv, " ") |