mirror of
https://github.com/snowykami/server-status-client.git
synced 2024-11-29 08:45:23 +08:00
✨ 添加系统启动时间
This commit is contained in:
parent
3d14b5a18e
commit
657cd1a80f
@ -136,7 +136,7 @@ class Client:
|
||||
self.link = link
|
||||
self.interval = interval
|
||||
|
||||
self.start_time = int(time.clock())
|
||||
self.start_time = int(psutil.boot_time())
|
||||
self.hardware = Hardware()
|
||||
|
||||
log("Client initialized",
|
||||
|
Loading…
Reference in New Issue
Block a user