mirror of
https://github.com/snowykami/server-status-client.git
synced 2024-11-22 23:27:45 +08:00
✨ 修复部分linux获取发行版错误的问题
This commit is contained in:
parent
9160e7c4b4
commit
ce3a07e350
@ -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):
|
||||||
# 在输出前加上时间
|
# 在输出前加上时间
|
||||||
|
Loading…
Reference in New Issue
Block a user