transport_hid: return sorted list of devices (#77)

This should be deterministic, since dict.values() order is unpredictable.
pull/25/head
Roman Zeyde 8 years ago committed by Pavol Rusnak
parent c6094dc9ad
commit d1397c779c

@ -26,7 +26,7 @@ def enumerate():
devices[serial_number][1] = path
# List of two-tuples (path_normal, path_debuglink)
return list(devices.values())
return sorted(devices.values())
def path_to_transport(path):
try:

Loading…
Cancel
Save