Skip to content
This repository has been archived by the owner on Nov 25, 2022. It is now read-only.

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 Oscar Carlsson committed Nov 2, 2020
1 parent fecc3bc commit 1d2c361
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 1d2c361

Please sign in to comment.