diff options
author | onefang | 2020-01-03 23:24:44 +1000 |
---|---|---|
committer | onefang | 2020-01-03 23:24:44 +1000 |
commit | 7c60fa0c986c45717a865e179b5d692a7ab08e32 (patch) | |
tree | 7f5e1a97befd35653b06fd5cd6b471b518e730eb /apt-panopticommon.lua | |
parent | Not being able to download an updated file while the mirror is still updating... (diff) | |
download | apt-panopticon-7c60fa0c986c45717a865e179b5d692a7ab08e32.zip apt-panopticon-7c60fa0c986c45717a865e179b5d692a7ab08e32.tar.gz apt-panopticon-7c60fa0c986c45717a865e179b5d692a7ab08e32.tar.bz2 apt-panopticon-7c60fa0c986c45717a865e179b5d692a7ab08e32.tar.xz |
A few less steps in some of the time calcs.
Diffstat (limited to 'apt-panopticommon.lua')
-rw-r--r-- | apt-panopticommon.lua | 3 |
1 files changed, 1 insertions, 2 deletions
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 | |||
698 | 698 | ||
699 | APT.now = 0 | 699 | APT.now = 0 |
700 | local status | 700 | local status |
701 | APT.now = APT.exe('TZ="GMT" ls -l --time-style="+%s" results/stamp | cut -d " " -f 6-6'):Do().result | 701 | APT.now = tonumber(APT.exe('TZ="GMT" ls -l --time-style="+%s" results/stamp | cut -d " " -f 6-6'):Do().result) |
702 | APT.now = tonumber(APT.now) | ||
703 | local start = 'now-1month' | 702 | local start = 'now-1month' |
704 | local step = '10min' | 703 | local step = '10min' |
705 | local hb = '150min' | 704 | local hb = '150min' |