mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-04 14:30:30 +03:00
Generate the index in alpha-sorted (by app name) order
This commit is contained in:
parent
9dcce12a32
commit
a37e067420
1 changed files with 3 additions and 0 deletions
|
|
@ -173,6 +173,9 @@ for apk in apks:
|
|||
print "WARNING: " + apk['apkname'] + " (" + apk['id'] + ") has no metadata"
|
||||
print " " + apk['name'] + " - " + apk['version']
|
||||
|
||||
#Sort the app list by name, then the web site doesn't have to by default:
|
||||
apps = sorted(apps, key=lambda app: app['name'])
|
||||
|
||||
# Create the index
|
||||
doc = Document()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue