From 7c60fa0c986c45717a865e179b5d692a7ab08e32 Mon Sep 17 00:00:00 2001 From: onefang Date: Fri, 3 Jan 2020 23:24:44 +1000 Subject: A few less steps in some of the time calcs. --- apt-panopticommon.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'apt-panopticommon.lua') diff --git a/apt-panopticommon.lua b/apt-panopticommon.lua index ffc3af4..dddcc9c 100644 --- a/apt-panopticommon.lua +++ b/apt-panopticommon.lua @@ -698,8 +698,7 @@ end APT.now = 0 local status -APT.now = APT.exe('TZ="GMT" ls -l --time-style="+%s" results/stamp | cut -d " " -f 6-6'):Do().result -APT.now = tonumber(APT.now) +APT.now = tonumber(APT.exe('TZ="GMT" ls -l --time-style="+%s" results/stamp | cut -d " " -f 6-6'):Do().result) local start = 'now-1month' local step = '10min' local hb = '150min' -- cgit v1.1