From 657cd1a80f19c362d65400f0d7e9b1cf58502f22 Mon Sep 17 00:00:00 2001 From: snowykami Date: Fri, 4 Oct 2024 07:34:28 +0800 Subject: [PATCH] =?UTF-8?q?:sparkles:=20=E6=B7=BB=E5=8A=A0=E7=B3=BB?= =?UTF-8?q?=E7=BB=9F=E5=90=AF=E5=8A=A8=E6=97=B6=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server_status/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server_status/api.py b/server_status/api.py index 69fde76..371e64d 100644 --- a/server_status/api.py +++ b/server_status/api.py @@ -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",