mirror of
https://github.com/snowykami/server-status-client.git
synced 2025-08-02 11:49:56 +00:00
✨ 修复部分linux获取发行版错误的问题
This commit is contained in:
@ -26,6 +26,8 @@ except FileNotFoundError:
|
|||||||
os_name = platform.system()
|
os_name = platform.system()
|
||||||
os_version = platform.release()
|
os_version = platform.release()
|
||||||
|
|
||||||
|
print("Current OS:", os_name, os_version)
|
||||||
|
|
||||||
|
|
||||||
def log(*args):
|
def log(*args):
|
||||||
# 在输出前加上时间
|
# 在输出前加上时间
|
||||||
|
Reference in New Issue
Block a user