fix bugs
This commit is contained in:
parent
5d3886bb51
commit
874252642a
2 changed files with 3 additions and 2 deletions
4
PKGBUILD
4
PKGBUILD
|
@ -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() {
|
||||
|
|
1
uptimes
1
uptimes
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue