Skip to content

Commit a7ce8c0

Browse files
author
Developer
committed
Sorted wired ports alphanumerically, but kept wired ports at top of list (wireless ports at bottom).
1 parent 9ead61d commit a7ce8c0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

PropellerLoad.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ def get_ports(self):
6363
(success, out, err) = loader(self, ["-P"])
6464
if success:
6565
self.ports = out.splitlines()
66+
self.ports.sort(None, None, False)
6667
else:
6768
self.logger.debug('COM Port request returned %s', err)
6869

0 commit comments

Comments
 (0)