From ce3a07e35032e9bac6008f40fa0cb34870c6ffc4 Mon Sep 17 00:00:00 2001 From: snowykami Date: Sun, 6 Oct 2024 04:36:54 +0800 Subject: [PATCH] =?UTF-8?q?:sparkles:=20=E4=BF=AE=E5=A4=8D=E9=83=A8?= =?UTF-8?q?=E5=88=86linux=E8=8E=B7=E5=8F=96=E5=8F=91=E8=A1=8C=E7=89=88?= =?UTF-8?q?=E9=94=99=E8=AF=AF=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server_status/api.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server_status/api.py b/server_status/api.py index 642d12b..4ae5cee 100644 --- a/server_status/api.py +++ b/server_status/api.py @@ -26,6 +26,8 @@ except FileNotFoundError: os_name = platform.system() os_version = platform.release() +print("Current OS:", os_name, os_version) + def log(*args): # 在输出前加上时间