mirror of
https://github.com/bombsquad-community/plugin-manager.git
synced 2025-10-08 14:54:36 +00:00
Ensure the build_numbers are of type int
This commit is contained in:
parent
ec866519e6
commit
4aca36757e
2 changed files with 3 additions and 8 deletions
|
|
@ -1854,12 +1854,7 @@
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"versions": {
|
"versions": {
|
||||||
"1.0.0": {
|
"1.0.0": null
|
||||||
"api_version": 9,
|
|
||||||
"commit_sha": "f16abc3",
|
|
||||||
"released_on": "27-05-2025",
|
|
||||||
"md5sum": "6ba6b6510e0c2a98b817867f2fb62955"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -39,8 +39,8 @@ def fetch_update():
|
||||||
|
|
||||||
match = re.search(r'<td class="onlydesktop">(\d+)</td>', web_content)
|
match = re.search(r'<td class="onlydesktop">(\d+)</td>', web_content)
|
||||||
if match:
|
if match:
|
||||||
latest_build_number = match.group(1)
|
latest_build_number = int(match.group(1))
|
||||||
current_build_number = babase.app.env.engine_build_number
|
current_build_number = int(babase.app.env.engine_build_number)
|
||||||
if latest_build_number == current_build_number:
|
if latest_build_number == current_build_number:
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue