mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-06 07:20:29 +03:00
Fix auto-update version code comparison
This commit is contained in:
parent
2486ca1f0c
commit
9bd5983a8d
1 changed files with 1 additions and 1 deletions
|
|
@ -236,7 +236,7 @@ def main():
|
|||
for build in app['builds']:
|
||||
if build['vercode'] == app['Current Version Code']:
|
||||
gotcur = True
|
||||
if not latest or build['vercode'] > latest['vercode']:
|
||||
if not latest or int(build['vercode']) > int(latest['vercode']):
|
||||
latest = build
|
||||
if not gotcur:
|
||||
newbuild = latest.copy()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue