版本读取问题
This commit is contained in:
parent
e63980a58f
commit
065276e104
@ -11,7 +11,10 @@ for i in programVersionList(f"#releases tr :nth-child(2)").items():
|
|||||||
version = i("td strong").text()
|
version = i("td strong").text()
|
||||||
if temp == mainVersion:
|
if temp == mainVersion:
|
||||||
#print(version)
|
#print(version)
|
||||||
|
version = version.strip()
|
||||||
newestVersion = version
|
newestVersion = version
|
||||||
|
if " " in version:
|
||||||
|
newestVersion = version.split(" ")[0]
|
||||||
break
|
break
|
||||||
temp += 1
|
temp += 1
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user