未验证 提交 ce198ca2 编写于 作者: 走神的阿圆's avatar 走神的阿圆 提交者: GitHub

modify update tips (#356)

上级 4a2ba2f5
......@@ -322,10 +322,10 @@ def strflist_version(version_list):
version_list = version_list[1:-1].split(",")
result = ""
if version_list[0] != "-1.0.0":
result = ">" + version_list[0]
result = ">=" + version_list[0]
if version_list[1] != "99.0.0":
if result != "":
result = result + ", " + "<" + version_list[1]
result = result + ", " + "<=" + version_list[1]
else:
result = "<" + version_list[1]
result = "<=" + version_list[1]
return result if result != "" else "-"
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册