Skip to content

Commit

Permalink
#13 sort the controllers by name
Browse files Browse the repository at this point in the history
  • Loading branch information
richardbuckle committed Aug 28, 2017
1 parent 3e95950 commit b2737a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion www/scripts/bindings.py
Original file line number Diff line number Diff line change
Expand Up @@ -684,7 +684,7 @@ def printList():
name = str(obj['description'])
controllers = [fullKey.split('::')[0] for fullKey in obj['devices'].keys()]
silencedComtrollers = ['Mouse', 'Keyboard']
controllers = [controller for controller in controllers if not controller in silencedComtrollers]
controllers = [controller for controller in controllers if not controller in silencedComtrollers].sort()
controllersStr = ', '.join(controllers)
if name is '':
# if the uploader didn't bother to name their config, skip it
Expand Down

0 comments on commit b2737a1

Please sign in to comment.