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): # 在输出前加上时间