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
|
|
@ -39,8 +39,8 @@ def fetch_update():
|
|||
|
||||
match = re.search(r'<td class="onlydesktop">(\d+)</td>', web_content)
|
||||
if match:
|
||||
latest_build_number = match.group(1)
|
||||
current_build_number = babase.app.env.engine_build_number
|
||||
latest_build_number = int(match.group(1))
|
||||
current_build_number = int(babase.app.env.engine_build_number)
|
||||
if latest_build_number == current_build_number:
|
||||
return
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue