mirror of
https://github.com/corpnewt/gibMacOS.git
synced 2025-01-22 10:04:12 -05:00
Sort main menu list by date
This commit is contained in:
parent
c313546e55
commit
7ff7192787
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue