From 630c7d0332420a81624b5d4bde462083279cd056 Mon Sep 17 00:00:00 2001 From: onefang Date: Mon, 23 Dec 2019 14:26:42 +1000 Subject: Fix up web page refresh. --- 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 cdfa5bd..12a3960 100755 --- a/apt-panopticon-report-email-web.lua +++ b/apt-panopticon-report-email-web.lua @@ -311,13 +311,13 @@ APT.html = true local web, e = io.open("results/Report-web.html", "w+") if nil == web then C("opening mirrors file - " .. e) else web:write( "
This is the status of the mirror servers in the Devuan package mirror network.
\n") - if 0 < APT.options.refresh.value then + if 0 < tonumber(APT.options.refresh.value) then web:write( 'This page will refresh every ' .. (APT.options.refresh.value / 60) .. ' minutes.
') end web:write( "EXPERIMENTAL CODE - double check all results you see here, and read the logs if it's important.
" .. -- cgit v1.1