Skip to content

Commit

Permalink
#13 just sort, please
Browse files Browse the repository at this point in the history
  • Loading branch information
richardbuckle committed Aug 28, 2017
1 parent 17dbea7 commit b03667d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion www/scripts/bindings.py
Original file line number Diff line number Diff line change
Expand Up @@ -684,7 +684,8 @@ 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].sorted()
controllers = [controller for controller in controllers if not controller in silencedComtrollers]
controllers.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 b03667d

Please sign in to comment.