diff options
author | onefang | 2019-12-29 10:14:14 +1000 |
---|---|---|
committer | onefang | 2019-12-29 10:14:14 +1000 |
commit | 2f1563ffbf59a48b0ad56731e5dd18376d1b6fef (patch) | |
tree | be1347c534e57ae12848112542460ecaf4b45477 | |
parent | Add bandwidth argument and it's aliases, to choose how hard to hit the 'net. (diff) | |
download | apt-panopticon-2f1563ffbf59a48b0ad56731e5dd18376d1b6fef.zip apt-panopticon-2f1563ffbf59a48b0ad56731e5dd18376d1b6fef.tar.gz apt-panopticon-2f1563ffbf59a48b0ad56731e5dd18376d1b6fef.tar.bz2 apt-panopticon-2f1563ffbf59a48b0ad56731e5dd18376d1b6fef.tar.xz |
Whitespace++
-rwxr-xr-x | apt-panopticon-report-email-web.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-panopticon-report-email-web.lua b/apt-panopticon-report-email-web.lua index 3304fb2..f69ffcd 100755 --- a/apt-panopticon-report-email-web.lua +++ b/apt-panopticon-report-email-web.lua | |||
@@ -438,7 +438,7 @@ if nil == web then C("opening mirrors file - " .. e) else | |||
438 | if APT.checkFile('rrd/' .. k .. '/Speed/Speed.rrd') then | 438 | if APT.checkFile('rrd/' .. k .. '/Speed/Speed.rrd') then |
439 | local start, step, names, data = APT.rrd.fetch('rrd/' .. k .. '/Speed/Speed.rrd', 'LAST', '-a', '-r', '10m', '-s', '-1w') | 439 | local start, step, names, data = APT.rrd.fetch('rrd/' .. k .. '/Speed/Speed.rrd', 'LAST', '-a', '-r', '10m', '-s', '-1w') |
440 | local count, up, down, unknown = 0, 0, 0, 0 | 440 | local count, up, down, unknown = 0, 0, 0, 0 |
441 | for i,dp in ipairs(data) do | 441 | for i, dp in ipairs(data) do |
442 | for j,v in ipairs(dp) do | 442 | for j,v in ipairs(dp) do |
443 | if 'max' == names[j] then | 443 | if 'max' == names[j] then |
444 | if 'nan' == tostring(v) then | 444 | if 'nan' == tostring(v) then |