未验证 提交 5af337f4 编写于 作者: C ChaoII 提交者: GitHub

Update platform.py

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