未验证 提交 2ec4a8ce 编写于 作者: K KP 提交者: GitHub

Merge pull request #1799 from ChaoII/release/v2.2

Update platform.py
......@@ -21,7 +21,7 @@ def get_platform() -> str:
return platform.platform()
def is_windows() -> str:
def is_windows() -> bool:
return get_platform().lower().startswith("windows")
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册