Merge remote-tracking branch 'felix/reverse-sort'

Signed-off-by: Miao Wang <shankerwangmiao@gmail.com>
This commit is contained in:
Miao Wang 2021-07-27 19:03:51 +08:00
commit eceb1cc346
No known key found for this signature in database
GPG Key ID: B031E3CA7BFED96E

View File

@ -169,7 +169,7 @@ def getImageList():
url_dict = {}
for distro, images in img_dict.items():
images.sort(key=lambda x: x['sort_key'])
images.sort(key=lambda x: x['sort_key'], reverse=True)
logger.debug("[IMAGES] %r %r", distro, images)
url_dict[distro] = [getDetail(image, urlbase) for image in images]