mirror of
https://github.com/ksherlock/ample.git
synced 2026-03-11 07:42:10 +00:00
sort slots by name in the plist files.
This commit is contained in:
@@ -322,7 +322,12 @@ def make_device_slots(machine):
|
||||
def make_devices():
|
||||
|
||||
devices = []
|
||||
for name, m in submachines.items():
|
||||
# alphabetically so it doesn't change.
|
||||
names = list(submachines.keys())
|
||||
names.sort()
|
||||
|
||||
for name in names:
|
||||
m = submachines[name]
|
||||
# print(" {}".format(name))
|
||||
slots = make_device_slots(m)
|
||||
if slots:
|
||||
|
||||
Reference in New Issue
Block a user