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
aef040d broke it ¯\_(ツ)_/¯
  • Loading branch information
Erovia authored Oct 9, 2020
1 parent 064ea2b commit c25bae5
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 c25bae5

Please sign in to comment.