Skip to content

Commit

Permalink
CLI: Fix stripping of ANY from Configurator exports (qmk#10585)
Browse files Browse the repository at this point in the history
058737f broke it ¯\_(ツ)_/¯
  • Loading branch information
Erovia authored and drashna committed Jan 13, 2021
1 parent 9daa7dc commit b6dbef7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/python/qmk/keymap.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@ def generate(keyboard, layout, layers, type='c', keymap=None):
for layer_num, layer in enumerate(layers):
if layer_num != 0:
layer_txt[-1] = layer_txt[-1] + ','

layer = map(_strip_any, layer)
layer_keys = ', '.join(layer)
layer_txt.append('\t[%s] = %s(%s)' % (layer_num, layout, layer_keys))

Expand Down

0 comments on commit b6dbef7

Please sign in to comment.