From c0b3e3ca971c2e449c3fbed520454b7884b392af Mon Sep 17 00:00:00 2001 From: onefang Date: Fri, 27 Dec 2019 22:59:58 +1000 Subject: Update the TIMEOUT hack for updated percentage to match the new precision. --- apt-panopticon-report-email-web.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apt-panopticon-report-email-web.lua b/apt-panopticon-report-email-web.lua index 2a13e29..86484be 100755 --- a/apt-panopticon-report-email-web.lua +++ b/apt-panopticon-report-email-web.lua @@ -468,8 +468,8 @@ if nil == web then C("opening mirrors file - " .. e) else end end percentUpdated = string.format('%.2f', (down / count * 100)) - if '0' == percentUp then percentUpdated = '??' end -- We are counting errors, and you can't get an error if you can't check anything. - -- TODO - try to account for this better, this is just a quick hack. + if '0.00' == percentUp then percentUpdated = '??' end -- We are counting errors, and you can't get an error if you can't check anything. + -- TODO - try to account for this better, this is just a quick hack. end week = '