diff options
-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 b5a880e134..4a7487ccf7 100755 --- a/applications/luci-app-statistics/root/usr/bin/stat-genconfig +++ b/applications/luci-app-statistics/root/usr/bin/stat-genconfig @@ -287,7 +287,7 @@ plugins = { local plugin_dir = "/usr/share/luci/statistics/plugins/" for filename in nixio.fs.dir(plugin_dir) do - local name = filename:gsub("%.lua", "") + local name = filename:gsub("%.json", "") if (name == "exec") then plugins[name] = config_exec elseif (name == "iptables") then |