This commit is contained in:
iridiumR 2023-08-08 00:35:38 +08:00
parent 5d3886bb51
commit 874252642a
No known key found for this signature in database
GPG Key ID: 49735733EB1A32C8
2 changed files with 3 additions and 2 deletions

View File

@ -1,6 +1,6 @@
# Maintainer: 1ridic <i@8f.al>
pkgname=uptimes
pkgver=0.1.10
pkgver=0.1.11
pkgrel=1
pkgdesc="status of total uptime"
arch=('any')
@ -11,7 +11,7 @@ source=(
local://uptimes
local://uptimesd.service
)
md5sums=('542ca1de161e15d32b386e9470ac6811'
md5sums=('d2e8cfc73a64173a4d0749fc31193be6'
'7a90889f87792317e70ebdce9dae7023')
package() {

View File

@ -49,6 +49,7 @@ def updateTime():
print("totalTime: %f" % totalTime)
sys.stdout.flush()
totalTime += now - startTime
startTime = now
print("totalTime: %f" % totalTime)
sys.stdout.flush()
with open(uptimes_db, 'w') as f: