mirror of
https://github.com/corpnewt/gibMacOS.git
synced 2024-11-10 09:49:42 +01:00
Sort main menu list by date
This commit is contained in:
parent
c313546e55
commit
7ff7192787
@ -291,7 +291,7 @@ class gibMacOS:
|
||||
if not len(self.mac_prods):
|
||||
print("No installers in catalog!")
|
||||
print("")
|
||||
for p in sorted(self.mac_prods, key=lambda x:x['version'], reverse=True):
|
||||
for p in self.mac_prods:
|
||||
num += 1
|
||||
var1 = "{}. {} {}".format(num, p["title"], p["version"])
|
||||
var2 = " - {} - Added {}".format(p["product"], p["date"])
|
||||
|
Loading…
Reference in New Issue
Block a user