mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-10-09 02:41:06 +03:00
Can't update an app if there is no CV
This commit is contained in:
parent
9064942d06
commit
d192b40687
1 changed files with 2 additions and 0 deletions
|
@ -141,6 +141,8 @@ def update_wiki(apps, apks):
|
||||||
'version': thisbuild['version'],
|
'version': thisbuild['version'],
|
||||||
'buildproblem': "The build for this version appears to have failed. Check the [[{0}/lastbuild|build log]].".format(app['id'])
|
'buildproblem': "The build for this version appears to have failed. Check the [[{0}/lastbuild|build log]].".format(app['id'])
|
||||||
})
|
})
|
||||||
|
if app['Current Version Code'] == '0':
|
||||||
|
cantupdate = True
|
||||||
# Sort with most recent first...
|
# Sort with most recent first...
|
||||||
apklist = sorted(apklist, key=lambda apk: apk['versioncode'], reverse=True)
|
apklist = sorted(apklist, key=lambda apk: apk['versioncode'], reverse=True)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue